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.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
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.
Related tools
See category- Content-Type Header Builder & Parser
- Accept-Patch Builder & Analyzer
- HTTP Status Code Reference
- :nth-child An+B Evaluator
Content-Type Header Builder & Parser
Build or inspect HTTP media-type headers, charsets, and multipart boundaries.
Accept-Patch Builder & Analyzer
Build or inspect HTTP Accept-Patch media-type capabilities.
HTTP Status Code Reference
Look up HTTP status codes — what they mean and when APIs return them.
:nth-child An+B Evaluator
Parse CSS An+B (:nth-child, :nth-of-type) microsyntax, validate it, and list which child indices it matches.