Login
Last updated
Last updated
To use this endpoint, you will need to send an HTTP POST request to the URL /login
. The request body should be in JSON format and should contain the following fields:
password
: a string representing the user's password
Here's an example of what the request body might look like:
If the login is successful, the API will return a response with a status code of 200 and a JSON body containing a success message and a JSON Web Token (JWT) that can be used to authenticate the user for future requests. The JSON body will look something like this:
email
: a string representing the user's email address, in the format ""