### GET http://127.0.0.1:9876/sanctum/csrf-cookie Accept: application/json ### POST http://127.0.0.1:9876/login Content-Type: application/x-www-form-urlencoded Accept: application/json username=admin & password=admin ### POST http://127.0.0.1:9876/register Content-Type: application/x-www-form-urlencoded Accept: application/json username = editoreditor & password = editoreditor & password_confirmation = editoreditor & email = editor@djtest.djtest & type = editor ### POST http://127.0.0.1:9876/login Content-Type: application/x-www-form-urlencoded Accept: application/json username = clair & password = password ### POST http://127.0.0.1:9876/registerToken Content-Type: application/x-www-form-urlencoded Accept: application/json username=admin & password=admin & token_name=test ### # Request a token with /registerToken, manually add the token in Authorization GET http://127.0.0.1:9876/api/apiTest Content-Type: application/x-www-form-urlencoded Accept: application/json Authorization: Bearer V0KUFqGP746fqKxod2UTA2Zq48v6oe9rO2wU2hsrafbdedcf ### GET http://127.0.0.1:9876/user?withShow=true&role=dj Content-Type: application/x-www-form-urlencoded Accept: application/json