Dummy API

This page will contains all rest service .Thease are Fake Online REST API for Testing and Prototyping of sample application which are using rest call to display listing and crud features. You can use this rest api tutorials, faking a server, sharing code examples.

API List


List Users

Request
Response
{
   "current_page": 1,
   "data": [
      {
         "id": 1,
         "first_name": "Johnny",
         "last_name": "Mark",
         "email": "johnnymark@gmail.com",
         "avatar": "https://api.mywebtuts.com/asset/img/photo-1.png"
      },
      {
         "id": 2,
         "first_name": "Varli",
         "last_name": "Khan",
         "email": "varlikhan@gmail.com",
         "avatar": "https://api.mywebtuts.com/asset/img/photo-2.png"
      },
      {
         "id": 3,
         "first_name": "Lawson",
         "last_name": "Ferguson",
         "email": "lawsonferguson@gmail.com",
         "avatar": "https://api.mywebtuts.com/asset/img/photo-8.png"
      },
      {
         "id": 4,
         "first_name": "Tobias",
         "last_name": "Michael",
         "email": "tobiasmichael@gmail.com",
         "avatar": "https://api.mywebtuts.com/asset/img/photo-4.png"
      },
      {
         "id": 5,
         "first_name": "George",
         "last_name": "Fields",
         "email": "georgefields@gmail.com",
         "avatar": "https://api.mywebtuts.com/asset/img/photo-5.png"
      },
      {
         "id": 6,
         "first_name": "Byron",
         "last_name": "Edwards",
         "email": "byronedwards@gmail.com",
         "avatar": "https://api.mywebtuts.com/asset/img/photo-6.png"
      }
   ],
   "first_page_url": "http://localhost:8000/api/users?page=1",
   "from": 1,
   "last_page": 2,
   "last_page_url": "http://localhost:8000/api/users?page=2",
   "links": [
      {
         "url": null,
         "label": "« Previous",
         "active": false
      },
      {
         "url": "http://localhost:8000/api/users?page=1",
         "label": "1",
         "active": true
      },
      {
         "url": "http://localhost:8000/api/users?page=2",
         "label": "2",
         "active": false
      },
      {
         "url": "http://localhost:8000/api/users?page=2",
         "label": "Next »",
         "active": false
      }
   ],
   "next_page_url": "http://localhost:8000/api/users?page=2",
   "path": "http://localhost:8000/api/users",
   "per_page": 6,
   "prev_page_url": null,
   "to": 6,
   "total": 12
}
                    

Single User

Request
Response
{
	"id": 5,
	"first_name": "George",
	"last_name": "Fields",
	"email": "georgefields@gmail.com",
	"avatar": "https://api.mywebtuts.com/asset/img/photo-5.png"
}
                    

Create User

Request
Response
{
	"id": 13,
	"first_name": "Field",
	"last_name": "Mark",
	"email": "fieldmark@gmail.com",
	"created_at": "2021-05-04 10:24:32"
}
                    

Update Users

Request
Response
{
	"id": 6,
	"first_name": "Field",
	"last_name": "Mark",
	"email": "fieldmark@gmail.com",
	"created_at": "2021-05-04 10:24:32"
}
                    

Update Users

Request
Response
{
	"id": 10,
	"first_name": "Jesal",
	"last_name": "Meki",
	"email": "jesalmeki@gmail.com",
	"created_at": "2021-05-04 10:24:32"
}
                    

Delete User

Request
Response
{
  	"message":"User Id: 2 Delete Successfully"
}