cURL
curl --request POST \ --url 'http://{{baseurl}}/users/check-username' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "aanabosi" } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
Successful response