Skip to content

Commit e49fa6c

Browse files
committed
specify content-type header
1 parent 5f58209 commit e49fa6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/Reference.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ Clients may append more information and metadata to the _end_ of this string as
235235
> warn
236236
> Client requests that do not have a valid User Agent specified may be blocked and return a [Cloudflare error](https://support.cloudflare.com/hc/en-us/articles/360029779472-Troubleshooting-Cloudflare-1XXX-errors).
237237
238+
### Content Type
239+
240+
Clients using the HTTP API must provide a valid `Content-Type` header, either `application/json`, `application/x-www-form-urlencoded`, or `multipart/form-data`, except where specified. Failing to do so will result in a `50035` "Invalid form body" error.
241+
238242
### Rate Limiting
239243

240244
The HTTP API implements a process for limiting and preventing excessive requests in accordance with [RFC 6585](https://tools.ietf.org/html/rfc6585#section-4). API users that regularly hit and ignore rate limits will have their API keys revoked, and be blocked from the platform. For more information on rate limiting of requests, please see the [Rate Limits](#DOCS_TOPICS_RATE_LIMITS/rate-limits) section.

0 commit comments

Comments
 (0)