TheTestRequest is a free API & bellow are the companies helping keep it up & running. Show some love ♡ & check them out!
TheTestRequest has following resourses
Resources are relational and APIs support nested responses in both JSON & XML format.
For more details, see Usage Guide.All REST methods are supported.
You can also include nested resources using include
param.
Make your first request to TheTestRequest.
This example uses fetch
API to get data, You can use whatever you want.
fetch('https://thetestrequest.com/authors/1')
.then(response => response.json())
.then(json => console.log(json));
Run Script
{
"id": 1,
"name": "Msgr. Doris Kuhn",
"email": "shawnda@goldner.com",
"avatar": "https://robohash.org/oditducimuslabore.png?size=300x300&set=set1",
"created_at": "2021-06-19T10:07:10.061Z",
"updated_at": "2021-06-19T10:07:10.061Z"
}
For more examples visit Usage Guide.