Status Code API
Introduction
This is a dead simple status code api that returns the status code for the given url.
Usage
To use this api, just send a GET request to the following endpoint:
https://api.jm26.net/status-code/
For example, if you want to get the status code for the url https://jm26.net
, you can send a GET request to the following url:
curl -X GET "https://api.jm26.net/status-code/?url=https%3A%2F%2Fjm26.net"
The response will be:
{
"status": "success",
"message": "Status code received",
"code": 200,
"description": "OK"
}
Parameters
The following parameters are available:
Parameter | Description | Default | Required |
---|---|---|---|
url | The url to get the status code for | - | ✔️ |