If you're working on a project or a test assignment where you need a sample dummy REST API URL for testing without authentication, you've come to the right place.
In this article, we will provide you Free Sample Rest API Url For Testing Without Authentication with all the necessary REST API endpoints so that you can easily perform CRUD operations in your application using our test API. It doesn't matter whether you are a Python developer or working on a JavaScript app, React.js, Angular.js, or Vue.js; it will work for all platforms.
So, below is a simple GET API that returns the list of Employees in the database. The product JSON object includes fields such as Id, FirstName, LastName, Email, PhoneNumber, and IsMaster.
The 'IsMaster' field indicates whether it is a master product or not. You can't perform update and delete operations on master data. To perform update and delete operations, you first need to create your own Employee, and then you can proceed with the operations.
If you are looking for sample login or registration APIs for testing, you can find them in this post.
{ "Success": true, "Error": null, "Data": [ { "Id": 1, "FirstName": "Aarav", "LastName": "Patel", "Email": "[email protected]", "PhoneNumber": "+91 1234567890", "IsMaster": false, "CreatedAt": "2024-02-21T12:52:50" }, { "Id": 2, "FirstName": "Aryan", "LastName": "Sinha", "Email": "[email protected]", "PhoneNumber": "+91 9876543210", "IsMaster": false, "CreatedAt": "2024-02-22T12:52:50" }, { "Id": 3, "FirstName": "Elsa", "LastName": "Andersson", "Email": "[email protected]", "PhoneNumber": "+46 721234567", "IsMaster": false, "CreatedAt": "2024-02-24T12:52:50" }, { "Id": 4, "FirstName": "Vivaan", "LastName": "Joshi", "Email": "[email protected]", "PhoneNumber": "+91 9876543210", "IsMaster": false, "CreatedAt": "2024-02-25T12:52:50" }, { "Id": 5, "FirstName": "Liam", "LastName": "Nilsson", "Email": "[email protected]", "PhoneNumber": "+46 731234567", "IsMaster": false, "CreatedAt": "2024-02-25T12:52:50" }, { "Id": 6, "FirstName": "Anaya", "LastName": "Kumar", "Email": "[email protected]", "PhoneNumber": "+91 9876543210", "IsMaster": false, "CreatedAt": "2024-02-26T12:52:50" }, { "Id": 7, "FirstName": "Oskar", "LastName": "Eriksson", "Email": "[email protected]", "PhoneNumber": "+46 741234567", "IsMaster": false, "CreatedAt": "2024-02-26T12:52:50" }, { "Id": 8, "FirstName": "Ishaan", "LastName": "Gupta", "Email": "[email protected]", "PhoneNumber": "+91 9876543210", "IsMaster": false, "CreatedAt": "2024-02-27T12:52:50" }, { "Id": 9, "FirstName": "Elin", "LastName": "Pettersson", "Email": "[email protected]", "PhoneNumber": "+46 751234567", "IsMaster": false, "CreatedAt": "2024-02-29T12:52:50" }, { "Id": 10, "FirstName": "Emilia", "LastName": "Larsson", "Email": "[email protected]", "PhoneNumber": "+46 701234567", "IsMaster": false, "CreatedAt": "2024-02-27T12:57:52" } ] }
{ "Success": true, "Error": null, "Data": { "Id": 6, "FirstName": "Anaya", "LastName": "Kumar", "Email": "[email protected]", "PhoneNumber": "+91 9876543210", "IsMaster": false, "CreatedAt": "2024-02-26T12:52:50" } }
{ "Success": false, "Error": "Employee Id not found in the database, please try again!", "Data": null }
{ "email": "[email protected]", "firstName": "jacob", "lastName": "sokvold", "phoneNumber": "918383837373" }
{ "Success": true, "Error": null, "Data": { "Id": 11, "FirstName": "jacob", "LastName": "sokvold", "Email": "[email protected]", "PhoneNumber": "918383837373", "IsMaster": false, "CreatedAt": "2024-03-04T12:38:01.2442802Z" } }
{ "errors": { "Email": [ "The Email field is required." ], "LastName": [ "The LastName field is required." ], "FirstName": [ "The FirstName field is required." ], "PhoneNumber": [ "The PhoneNumber field is required." ] }, "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status": 400, "traceId": "00-711665ad7c35864284a3ff59296f768d-fd3de15be78ca547-00" }
{ "Id": 11, "FirstName": "jacob new", "LastName": "sokvold new", "Email": "[email protected]", "PhoneNumber": "918383837373", }
{ "Success": true, "Error": null, "Data": { "Id": 11, "FirstName": "jacob new", "LastName": "sokvold new", "Email": "[email protected]", "PhoneNumber": "918383837373", "IsMaster": false, "CreatedAt": "2024-03-04T12:38:01.24428" } }
{ "Success": true, "Error": null, "Data": { "Id": 11, "FirstName": "jacob new", "LastName": "sokvold new", "Email": "[email protected]", "PhoneNumber": "918383837373", "IsMaster": false, "CreatedAt": "2024-03-04T12:38:01.24428" } }