StatusLab.dev

Test HTTP status codes for your application with ease

How It Works

Use StatusLab.dev to test how your applications handle different HTTP status codes. Simply enter a code above or use one of the endpoints below.

Direct Access

Directly access any status code:

GET https://statuslab.dev/200
Try it

Status Endpoint

Use the status controller:

GET https://statuslab.dev/status/404
Try it

View All Codes

See all available status codes:

GET https://statuslab.dev/status/all
Try it

Status Code Categories

Informational (100-199)

Informational responses indicating that the request was received and understood.

Success (200-299)

Success responses indicating that the request was successfully received, understood, and accepted.

Redirection (300-399)

Redirection responses indicating that further action needs to be taken to complete the request.

Integration Examples

curl -i https://statuslab.dev/418
// Using fetch
fetch('https://statuslab.dev/401')
  .then(response => {
    console.log(`Status: ${response.status}`);
    return response.json();
  })
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
// Using HttpClient
using System.Net.Http;
using System.Text.Json;

var client = new HttpClient();
var response = await client.GetAsync("https://statuslab.dev/500");

Console.WriteLine($"Status: {(int)response.StatusCode} {response.StatusCode}");
if (response.Content.Headers.ContentLength > 0)
{
    var content = await response.Content.ReadAsStringAsync();
    Console.WriteLine($"Content: {content}");
}
import requests

response = requests.get('https://statuslab.dev/201')
print(f"Status: {response.status_code}")
print(f"Content: {response.json()}")

About StatusLab.dev

StatusLab.dev is a tool powered by EverUptime to help developers test how their applications handle different HTTP status codes. This tool is especially useful for testing monitoring systems, API integrations, and error handling in web applications.

All endpoints are cached and served over CDN for fast response times worldwide.