API Documentation

ReactMockAPI lets developers generate REST APIs instantly without building a backend. Create projects, insert JSON data and instantly access it through API endpoints.

Base URL

GET

Fetch Documents

Retrieve all documents stored inside a collection.

GET /user-api/:rootRoute/:tag
GET

Fetch Documents

Retrieve all documents.

GET /user-api/:rootRoute/
POST

Create Record

Insert a new JSON object into a collection.

POST /user-api/:rootRoute/:tag/create

{
"name":"Sony Headphones",
"price":299
}

PATCH

Update Record

Update a document using its ID.

PATCH /user-api/:rootRoute/:docId/update
DELETE

Delete Record

Delete a single document.

DELETE /user-api/:rootRoute/:docId/delete
DELETE

Delete Collection Data

Delete all records inside a tag.

DELETE /user-api/:rootRoute/:tag/delete-many

API Tester


Ready...