https://github.com/sandysanthosh/rest-api-doc
Rest API Document to TEST in Bootstrap using AXIOS
https://github.com/sandysanthosh/rest-api-doc
postman restapi
Last synced: 7 months ago
JSON representation
Rest API Document to TEST in Bootstrap using AXIOS
- Host: GitHub
- URL: https://github.com/sandysanthosh/rest-api-doc
- Owner: sandysanthosh
- Created: 2017-07-20T18:24:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T18:30:35.000Z (over 5 years ago)
- Last Synced: 2025-05-28T00:38:10.408Z (10 months ago)
- Topics: postman, restapi
- Language: JavaScript
- Homepage: https://sandysanthosh.github.io/REST-API-DOC/
- Size: 683 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## REST API DOCUMENTATION
### Representational state transfer
REST != HTTP
Resources are decoupled from their representation variety of formats
- HTML, XML, plain text, PDF, JPEG, JSON
HTTPS Methods:
GET
PUT
POST
DELETE
PATCH
HTTPS STATUS CODE:
200 OK
201 OK created
301 Moved t new url
304 Not modified
400 Bad reuquest
401 Unauthorized
404 Not found
500 Internal server error
Learn REST API:
https://developer.github.com/v3/#pagination
To Test REST API you can use POSTMAN:
To Test all the user:
https://api.github.com/users
To Test Specific user:
https://api.github.com/users/sandysanthosh
### Fake Rest API:
Resources:
https://jsonplaceholder.typicode.com/
/posts 100 posts
/comments 500 comments
/albums 100 albums
/photos 5000 photos
/todos 200 todos
/users 10 Users
Routers:
https://jsonplaceholder.typicode.com/
GET /posts
GET /posts/1
GET /posts/1/comments
GET /comments?postId=1
GET /posts?userId=1
POST /posts
PUT /posts/1
PATCH /posts/1
DELETE /posts/1
TO LIMIT:
https://jsonplaceholder.typicode.com/todos?_limit=5
### Download Axios folder and run index.html:

@Restcontroller
@ResponseBody
@RequestMapping
#### Follow USStarwalt