← knaxly.dev

Relay

A mini API client: build a request, fire it, inspect the response. Postman-lite, in the browser.

KeyValue
KeyValue

Response

Send a request to see the response here.

History

No requests yet. The last 15 land here.

cURL to code

Paste a curl command and get ready-to-run code for fetch, axios, Python requests, and HTTPie.

Generated code

Paste a curl command above and hit Convert.

HTTP status codes

CodeNameMeaning
100ContinueServer got the request headers; the client should send the request body.
101Switching ProtocolsServer agrees to switch protocols, for example to WebSocket.
102ProcessingServer has accepted the request but has not finished it (WebDAV).
103Early HintsPreload hints sent before the final response is ready.
200OKStandard success response.
201CreatedRequest succeeded and a new resource was created.
202AcceptedAccepted for processing, but not yet completed.
203Non-Authoritative InformationReturned metadata came from a copy or a third party.
204No ContentSuccess with no response body.
205Reset ContentSuccess; the client should reset the document view.
206Partial ContentPartial resource returned in response to a range request.
300Multiple ChoicesMore than one possible response is available.
301Moved PermanentlyThe resource now lives at a new permanent URL.
302FoundThe resource is temporarily at a different URL.
303See OtherFetch the resource with a GET at another URL.
304Not ModifiedThe cached copy is still valid; no body is sent.
307Temporary RedirectRepeat the request at another URL, keeping the method.
308Permanent RedirectThe resource moved permanently; keep the method.
400Bad RequestMalformed or invalid request the server will not process.
401UnauthorizedAuthentication is required or has failed.
402Payment RequiredReserved; used by some APIs for billing limits.
403ForbiddenAuthenticated but not allowed to access the resource.
404Not FoundNo resource exists at this URL.
405Method Not AllowedThe HTTP method is not supported for this resource.
406Not AcceptableCannot produce a response matching the Accept headers.
407Proxy Authentication RequiredAuthenticate with the proxy before continuing.
408Request TimeoutThe client took too long to send the request.
409ConflictThe request conflicts with the current state of the resource.
410GoneThe resource was permanently removed.
411Length RequiredA Content-Length header is required.
412Precondition FailedA precondition header check failed.
413Payload Too LargeThe request body is larger than the server will accept.
414URI Too LongThe request URL is longer than the server will process.
415Unsupported Media TypeThe request body format is not supported.
416Range Not SatisfiableThe requested range cannot be served.
417Expectation FailedThe Expect request header cannot be met.
418I'm a TeapotAn April Fools joke code from RFC 2324.
422Unprocessable EntityWell-formed but semantically invalid request.
425Too EarlyServer is unwilling to risk processing a replayed request.
426Upgrade RequiredThe client should switch to a different protocol.
428Precondition RequiredThe request must be conditional to avoid conflicts.
429Too Many RequestsThe client sent too many requests (rate limited).
431Request Header Fields Too LargeThe headers are too large to process.
451Unavailable For Legal ReasonsThe resource is blocked for legal reasons.
500Internal Server ErrorA generic, unexpected server failure.
501Not ImplementedThe server does not support the requested functionality.
502Bad GatewayAn invalid response came from an upstream server.
503Service UnavailableThe server is overloaded or down for maintenance.
504Gateway TimeoutAn upstream server did not respond in time.
505HTTP Version Not SupportedThe requested HTTP version is not supported.
507Insufficient StorageThe server cannot store the representation (WebDAV).
511Network Authentication RequiredThe client must authenticate to gain network access.

Common MIME types

MIME typeUsed for
text/htmlHTML documents.
text/plainPlain text.
text/cssCSS stylesheets.
text/csvComma-separated values.
application/jsonJSON data, the default for most REST APIs.
application/xmlXML data.
application/javascriptJavaScript source.
application/pdfPDF documents.
application/zipZIP archives.
application/gzipGzip-compressed archives.
application/octet-streamArbitrary binary data.
application/x-www-form-urlencodedURL-encoded HTML form data.
multipart/form-dataForm data that includes file uploads.
image/pngPNG images.
image/jpegJPEG images.
image/gifGIF images.
image/svg+xmlSVG vector images.
image/webpWebP images.
audio/mpegMP3 audio.
video/mp4MP4 video.
font/woff2WOFF2 web fonts.

User-Agent parser

Paste a User-Agent string and hit Parse.