Generate requests
Generate request param
Design-first Mode
Request-first Mode
In Apidog's Design-first Mode, once you have specified an endpoint in For 

If the parameters such as param name, description, type, or example in the
Edit
tab, you can click the Run
tab to switch to the sending request interface. Here, the corresponding request is automatically generated based on the endpoint specifications that you have defined.path
parameters, query
parameters, headers
, and body
of type form-data
or x-www-form-urlencoded
, if you have specified an example
in the endpoint specification, this example will automatically populate the value
field in the Run
interface as the initial request parameter value.endpoint specification
are modified and saved in the Edit
tab, the corresponding fields in the Run
tab will also be updated accordingly. Any changes made in the spec will reflect across the entire development process, maintaining consistency and accuracy.Generate request body
JSON
or XML
type, you can automatically generate the request body within Apidog without manually constructing it.Request body examples and initial content
Design-first Mode
Request-first Mode
If your endpoint specification includes a defined body example, this example will appear in the If there is no body example defined in the endpoint specification, the body field in the "Run" tab will be left blank. However, you can click on 
Run
tab as the initial body content.Auto-generate
to create a body structure that fits your requirements.Auto-generate options
Apidog version must be 2.7.0 or higher.
Auto-generate
dropdown menu:1. Examples
2. Generate each time
Generate Each Time
is enabled, the body content becomes uneditable until this option is disabled.3. Auto-generation preference
Auto-generation Preference
opens a pop-up window where you can select the rules you prefer for automatically generating data.Insert dynamic value
dynamic values
to generate values for both request parameters and request body. This allows dynamic values to be automatically mocked and inserted into the request each time it is sent.Send request
Send
to send the request.Modified atΒ 2025-03-13 11:39:29