- Core API's
- >
- Tags API
- >
- Tags - Show
Tags - Show API
Get the specified Tag.
Method GET
Parameters
Name | Details | Type | Required |
---|---|---|---|
id
|
The ID of the Tag. | integer | Yes |
How to Use
fetch('https://simplecrudapi.com/api/tags/1')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Response
{
"data": {
"id": 1,
"name": "Education",
"description": "Resources and information for lifelong learning."
}
}
Try Now
fetch('https://simplecrudapi.com/api/tags/1')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));