Skip to content

JWT integration with contact us form

Kamal Dodiya requested to merge jwt into master

Integrate JWT Token with contact us form. Before sending a POST request to backend API for creating RT, the client will request a token. The token will be sent over in an Autorization Header along with the form data. The API will then validate the token before creating RT.

201 : Created 
Creates Ticket with payload {"success" : True }
401 : Unauthorized
Token not verified (Signature expired, invalid token )
422 : Unprocessable Entity
One of the fields missing
Invalid email format

Review APP:


HTTP Request/Response Cycle Contact-us-req-response-cycle

Merge request reports