JWT Controller

Issue

Path: /api/jwt/issue

Method: GET

Example Http Request

GET /api/jwt/issue HTTP/1.1
Host: localhost:8080

Example Http Response

HTTP/1.1 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 208

{"status":"SUCCESS","jwt":"eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJWZWdhc0NpdHkiLCJlbWFpbCI6ImZyYW5raWVAdmVnYXNjaXR5Lm9yZyIsImlhdCI6MTc2MjQ3NDAwNywiZXhwIjoxNzYyNTYwNDA3fQ.tnEhUfPWQh223E-zf8VR0IG6gA_pJtw-7asRhU9tO0g"}

Example Curl Request

$ curl 'http://localhost:8080/api/jwt/issue' -i -X GET

JWT Controller