Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FORMAT: 1A
- HOST: http://polls.apiblueprint.org/
- # spring-boot-rest-api
- In this api you will find users data.
- ## Users Data [/users/]
- ### List of users data[GET]
- + Response 200 (application/json)
- [
- {
- "name" : "Ahad",
- "study" : "University of Rajshahi",
- "dept" : "CSE"
- }
- ]
- ### Create new users data [POST]
- + Request (application/json)
- {
- {
- "name" : "Ahad",
- "study" : "University of Rajshahi",
- "dept" : "CSE"
- }
- }
- + Response 201 (application/json)
- + Headers
- + Body
- {
- "name" : "Ahad",
- "study" : "University of Rajshahi",
- "dept" : "CSE"
- }
- ## User Modification [/questions/{id}]
- + Parameters
- + id (number) - ID of the User in the form of an integer
- ### Delete single user data [DELETE]
- + Response 204
- ### Update user data [POST/{id}]
- + Parameters
- + id (number) - ID of the User in the form of an integer
- + Request (application/json)
- {
- {
- "name" : "Ahad",
- "study" : "University of Rajshahi",
- "dept" : "CSE"
- }
- }
- + Response 201 (application/json)
- + Headers
- + Body
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement