Index APIs
This collection of APIs can be used to perform CRUD operations on the database to test skills and how authentication or API calls work in the front end as a junior developer. Send me an email with any issues or suggestions.
Index APIs endpoints
| Method | Endpoint | Description |
|---|---|---|
| User | ||
| POST |
Login /login |
Login to the application. Returns a JSON object of user details |
| GET |
Get All Users /allUser |
To get all Users |
| GET |
Specific User /user/{userId} |
To get a User by Id |
| Todos | ||
| GET |
All Todos /get/Todo |
To get all Todos |
| GET |
Todo by User Id /get/Todo/{userId} |
To get all Todos by User Id |
| Posts | ||
| GET |
All Posts /get/Post |
To get all Posts |
| GET |
Posts By User /get/Post/{userId} |
To get all Posts by User Id. Enter the user id to get all Posts for the user. |
| GET |
All Comments /get/Comment |
To get all Comments |
| GET |
Comments by Post /get/Post/Comment/{postId} |
To get all Comments by Post Id. Enter post id to get all Comments for the post |
| GET |
Comment By User /get/Comment/{userId} |
To get all Comments by User Id. Enter the user id to get all Comments for the user. |
| Indian States and Cities | ||
| GET |
All States and Cities /get/States |
To get all States in India |
| GET |
All States /get/Only-State |
To get all Indian states. |
| GET |
Cities By State /get/State/{state} |
To get all Cities in a State. Enter a state to get all Cities in a State |
| Advance APIs | ||
| GET |
Geolocation Detection /get/IP |
To get IP Address Details, Longitudes, and Latitude for a specific user. |
| GET |
Proxy /serve |
This API works as a proxy to serve any targeted URL. Works with any request method and can be used as a proxy to any other API and solve cors errors |
Index APIs pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|