Laravel

Here we have some demo APIs listed here -

Register User

POST http://crema-laravel.herokuapp.com/api/users

This endpoint allows you to get free cakes.

Request Body

{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWY0ZjE5ZWNjN2Y5ZGEwMDE3ZDg1YmFkIn0sImlhdCI6MTU5OTAxOTUwMSwiZXhwIjoxNTk5NDUxNTAxfQ.diJyrzPOY-FD7quqhbJ9D5sDdN8Oym40qqfgHoldpdg"
}

Login User

POST http://crema-laravel.herokuapp.com/api/auth

Request Body

{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNWY0ZjE5ZWNjN2Y5ZGEwMDE3ZDg1YmFkIn0sImlhdCI6MTU5OTA3MDc3MCwiZXhwIjoxNTk5NTAyNzcwfQ.fK3L6ZmU8S7I-i21kJj_0sA212JOPgFaTWeSeAUaORQ"
}

Auth User

GET http://crema-laravel.herokuapp.com/api/auth

Headers

{
    "id": 4,
    "name": "Demo User",
    "email": "demo@ample.com",
    "email_verified_at": null,
    "created_at": "2020-09-03T04:25:55.000000Z",
    "updated_at": "2020-09-03T04:25:55.000000Z"
}

Last updated