Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

Accept-Post Builder & Analyzer

Generate or analyze Accept-Post response values that advertise supported POST document formats. Validates media types and parameters, detects duplicates and wildcard scope, and explains that capability does not grant authorization.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What the Accept-Post tool does

Paste a comma-separated list of media types and it validates each one against the HTTP media-type grammar, flags duplicates and wildcards, and reports a verdict per type. In build mode you supply the types and get back a clean header value such as application/json, application/x-www-form-urlencoded, ready to paste into an OPTIONS response.

Documenting what a resource accepts

Use it when you run a POST endpoint and want to advertise which document formats it will take. Building the value here keeps it consistent and flags a typo before it reaches your API description, while analyze mode is for reading a value you were sent or are about to test.

The two modes

Build mode constructs a header from the media types option and errors on the first invalid entry, so you always get a usable result. Analyze mode inspects whatever you paste, breaking each media type into major and minor token plus parameters, and judging validity without changing your text.

What the check notices

A media type must have both a major and a minor token using HTTP token characters. Duplicate types are flagged, and a bare wildcard is called out because it advertises every media type at once. A parameter key must be a valid token and carry a value. The verdict is only about syntax, not what your server really accepts.

Your media types stay local

Validation and building happen in the page, with nothing sent over the network and no request made. The tool works offline, so a list of formats for an unreleased API stays on your machine.

Questions

Does Accept-Post authorize a client?

No. It advertises supported document formats; authentication and authorization still determine whether a POST is allowed.

Where is Accept-Post useful?

It can describe formats accepted by a resource, commonly in OPTIONS responses or API capability discovery.

What happens for an unsupported format?

A server may reject the request with 415 Unsupported Media Type.

See category