Admin Login Endpoint - PixNyanNyan/PixNyanNyan-api GitHub Wiki
POST /api/admin/sign_in
Request
| param | type | optional | remarks |
|---|---|---|---|
| string | yes* | ||
| password | string | yes* | |
| g-recaptcha-response | string | yes* | google recaptcha response |
*These params can be bypassed if a valid JWT token attached in HTTP authorization header. It will be treated as token renewal.
Response
{"accessToken": "some_token_here"}