In this project, various APIs are integrated and made accessible through a single platform. The goal is to simplify API consumption and streamline interactions for developers. This centralized structure enhances efficiency by reducing the need for individual API integrations. Developers can explore, test, and use the APIs effortlessly through the marketplace. Additionally, the platform ensures secure and standardized access management. It is designed to be scalable, catering to diverse industries and needs. This project bridges the gap between API providers and consumers, fostering innovation and collaboration.
How to get token and use apis?
2
Make Request
The request must contain a body and also body must contain username & password information.
{
"username":"necip",
"password":"Pp123456@@"
}
3
Use Response
As a result of a successful request, the access_token value is taken from the incoming data below and added to the request.
"data": {
"access_token": "",
"expires_in": 86400,
"token_type": "Bearer",
"refresh_token": "",
"scope": "",
"roles": [],
"userinfo": {
"sub": "",
"aspNetIdentitySecurityStamp": null,
"role": [],
"preferred_username": "Necip",
"name": "Necip",
"email": "necip.baran@2sworks.com",
"email_verified": true,
"phone_number": "5555555555",
"phone_number_verified": false,
"userTypeId": "1"
}
},
"failed": false,
"message": null,
"succeeded": true
}
An authenticated request header must this token: Bearer access_token