diff --git a/core/content-negotiation.md b/core/content-negotiation.md index d7f1edb5ae9..dd5c9b3a8fd 100644 --- a/core/content-negotiation.md +++ b/core/content-negotiation.md @@ -409,3 +409,12 @@ use ApiPlatform\Laravel\Eloquent\Filter\JsonApi\SortFilter; )] class Book extends Model {} ``` + +### Advertising Linked Data Platform HTTP Headers (Allow & Accept-Post) + +API Platform automatically adds two HTTP headers to responses for resources: + +- **Allow** advertises enabled HTTP methods on the *current URI template*. +- **Accept-Post** advertises POST-able media types (from operation input formats) and is only present when a POST operation exists for the template. + +> See [LDP ยง4.2 / Primer notes on Accept-Post](https://www.w3.org/TR/ldp/#Accept-Post) and typical exposure via OPTIONS.