Swagger Assignment 3

Swagger Assignment:

Using the Swagger API tool, create an API based on the provided input below and write interactive API documentation. Please share the Output file after completing the assignment.

API Purpose: Login API

URL: https://reqres.in/api/login

Authentication: None

Method: Post

Tag: User

Request Body:

{
    "email": "eve.holt@reqres.in",
    "password": "cityslicka"
}

 

Response Example:

Media Type: application/json

{
    "token": "QpwL5tke4Pnpja7X4"
}

 

 

Leave a Comment