Test CORS configuration. A must-have tool for API development and testing.
location /api/ {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST';
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization';
add_header 'Access-Control-Max-Age' 86400;
}app.use((req, res, next) => {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Methods", "GET, POST");
res.header("Access-Control-Allow-Headers", "Content-Type, Authorization");
res.header("Access-Control-Max-Age", "86400");
if (req.method === "OPTIONS") return res.sendStatus(204);
next();
});Set up your API request or data.
Run or process the request.
See the formatted response.
Yes, all API tools are completely free.
Some tools make real HTTP requests; others process data locally.
JSON, XML, form-data, and other common API formats.