Skip to main content
Send Web Request

Accept

Tells the server what response format you prefer.

What it does

Accept specifies which content types you can handle in the response. Many APIs support JSON and XML; adding Accept: application/json ensures you get JSON back.

Example

Accept: application/json

Or multiple types with quality values: Accept: application/json, application/xml;q=0.9