This is a sample API service created by Lumen the stunningly fast micro-framework by Laravel for beginners.
This API is now avilable now to test: sample1.appafzar.com
-
Read post with id=5: (GET)
-
Read pagination posts: (POST)
you can send extra parameters in post
-
Create a new Post (POST)
request body: { "title":"my test", "description":"Lorem Ipsum is simply dummy text of the printing and typesetting industry." }
-
Update a post (POST)
request body: { "id":2, "title":"my test", "description":"Lorem Ipsum is simply dummy text of the printing and typesetting industry." }
-
Delete a post (GET)