Accept-Post

The HTTP Accept-Post response header lists the media types the server accepts in a POST request body.

Usage

The Accept-Post header informs clients which media types a server supports for POST requests to a given resource. The header originated in the W3C Linked Data Platform specification as a way for servers to advertise the content formats accepted when creating new resources.

A server sends Accept-Post in response to any request method. The most common placement is in OPTIONS responses, where clients probe for supported capabilities before sending data. Regular responses also include the header to surface accepted formats proactively.

When a client submits a POST request with an unsupported media type, the server responds with 415 Unsupported Media Type. Including Accept-Post in the error response directs the client toward a valid format.

Values

media-type

A comma-separated list of media types, optionally including parameters. Each entry identifies a format the server accepts for POST request bodies. The wildcard */* signals acceptance of any media type.

Example

A server advertising several accepted formats for POST requests, including a generic text type and a specific application type.

Accept-Post: application/json, text/csv

A server accepting any media type for uploads.

Accept-Post: */*

Multiple Accept-Post lines listing different formats. Servers split the values across lines or combine them with commas.

Accept-Post: application/ld+json
Accept-Post: text/turtle
Accept-Post: application/rdf+xml

Takeaway

The Accept-Post response header advertises the media types a server accepts for POST requests, guiding clients to submit data in a supported format.

See also

Last updated: March 5, 2026