Apicat Docs
  1. Create requests
Apicat Docs
  • What is Apicat?
  • Send requests
    • Create requests
      • Request basics
      • Parameters and body
      • Request headers
      • Request settings
      • Dynamic values
      • HTTP/2
      • SOAP/WebService
    • Authentication and authorization
      • Overview
      • CA and client certificates
      • Authorization types supported by Apidog
      • Digest Auth
      • OAuth 1.0
      • OAuth 2.0
      • Hawk Authentication
      • Kerberos
      • NTLM
      • Akamai EdgeGrid
    • Response and cookies
      • Overview
      • API response in Apidog
      • Create and send cookies
      • Debug requests
    • Dynamic values Modules
      • Airline
      • Animal
      • Color
      • Commerce
      • Company
      • Database
      • Datatype
      • Date
      • Finance
      • Food
      • Git
      • Hacker
      • Helpers
      • Image
      • Internet
      • Location
      • Lorem
      • Music
      • Number
      • Person
      • Phone
      • Science
      • String
      • System
      • Vehicle
      • Word
  • Environments & variables
    • Overview
    • Using variables
    • Environments & services
  • Pre/Post processors
    • Overview
    • Assertion
    • Extract variable
    • Wait
    • Database operations
      • Overview
      • MySQL
      • MongoDB
      • Redis
      • Oracle Client
    • Using scripts
      • Overview
      • Pre processor scripts
      • Post processor scripts
      • Public scripts
      • Postman scripts reference
      • Calling other programming languages
      • Using JS libraries
      • Visualizing responses
      • Script examples
        • Assertion scripts
        • Using variables in scripts
        • Using scripts to modify request messages
        • Other examples
  • Best practices
    • How to handle API signatures
    • How to access OAuth 2.0 protected APIs
    • Apidog collaboration workflow
    • Managing authentication state in Apidog
  • Account & preferences
    • Account settings
    • Generate OpenAPI access token
    • Language settings
    • Hot keys
    • Network proxy configuration
    • Data backup
    • Updating Apidog
    • Deleting account
    • Experimental Features
  • References
    • API-Design First Approach
    • Apidog OpenAPI/Swagger Specificaiton Extensions
    • JSONPath
    • XPath
    • Regular Expressions
    • JSON Schema
    • CSV File Format
    • Install Java Environment
    • Runner deployment environment
    • Apidog flavored Markdown
  1. Create requests

Request headers

Some APIs require you to include specific headers in your requests to provide metadata about the request. You can configure request headers in Apidog, while Apidog also automatically adds headers to your requests as needed.

Configuring request headers#

You can set up headers in the Headers tab of your request. Enter any key-value pairs you need, and Apidog will send them along with your request. Apidog provides prompts for common options you can use to autocomplete your setup, such as Content-Type.
image.png

Autogenerated headers#

Apidog will automatically add certain headers to your requests based on your request selections and settings. Click the Hidden option at the top of your request's Headers tab to see information about what Apidog will send with your request.
image.png
Hover over a header to view details about it. Apidog will indicate why the header has been added and how to deactivate or override the header value if needed.
You can make changes to a header in the Authorization tab, the request Body, Cookies for the request domain, the Settings, and in some cases in the Headers tab itself. If you need to navigate to a different part of the app, Apidog will display a link on the right-hand side.
To deactivate an autogenerated header in the Headers tab, clear its checkbox. To override an autogenerated header value, clear the checkbox next to the autogenerated entry and add a separate entry for the header, with its name in the Key field and your desired value in the Value field.
If you have more than one entry for the same header, Apidog indicates which one will be overridden. Apidog prioritizes headers you have either explicitly added in Headers or indirectly with selections you made in the other parts of your request such as Authorization. Overridden headers will be displayed like ~~Authorization~~.
For Content-Length and Content-Type headers, Apidog will automatically calculate the values when you send your request, based on the data in the Body tab. However, you can override both values.
Modified at 2025-06-25 07:57:16
Previous
Parameters and body
Next
Request settings
Built with