Debugging APIs
How does Apidog integrate with third-party key management systems?
We are developing integrations with Azure Key Vault, HashiCorp Vault, and AWS Secrets Manager, which are expected to be released in December 2024.
Why does the same request work correctly in other tools (such as Postman) but not in Apidog?
If the requests are identical, then the responses should also be identical regardless of the tool used. If you are getting different responses, you ca...
How to fetch variable values from database in Apidog?
Apidog offers a unique feature: connecting to a database to retrieve data, setting it as a variable, and using it in requests. Here are the steps:
...
How to migrate environments from other tools to Apidog?
In Apidog, the Initial value of variables is synchronized within the team, while the Current value is only stored locally. This means that when you us...
How to assert using scripts in Apidog?
In Apidog, you can employ the pm.test syntax to create assertions using scripts. Apidog is compatible with Postman scripts, allowing users to leverage...
JSONPath can only extract arrays. How can we extract a single element from within them in Apidog?
JSON is the most commonly used response data format, and JSONPath is a widely used syntax for data extraction within JSON structures. Apidog provides ...
How to configure database operations in Apidog when different environments have different database account credentials?
When working with multiple environments such as testing and production environments, they often have different databases configured. If you are using ...
How to get service base URL in custom script?
Apidog provides pm.request.getBaseUrl() to retrieve the base URL of the current endpoint.
It's recommended to use this method instead of pm.enviro...
Why does Apidog report an error exceeding the maximum Node.js string length when the API response is too large?
Apidog's front-end may encounter issues related to Node.js string length limitations when processing excessively large API responses. Node.js util...
What is the size limit for console printing?Why do I get an error when printing large files?
Apidog's console printing has a size limit of 1024 * 1024 bytes (1MB). This is a limitation of Node.js, and currently, Apidog does not support con...
How to resolve DB2 database connection errors on Windows?
If you encounter the error Error: The specified module could not be found. When connecting to a DB2 database in Apidog, it's usually due to missin...
How to Generate Dynamic Values in Apidog Custom Scripts?
PM Script API Apidog supports generating dynamic values in custom scripts, using the pm.variables.replaceInAsync(variableName:String):function method ...
Why does the client request for the same endpoint succeed, but an error occurs when debugging on the web side: "Unable to request address"?
Unable to request an address during online documentation or web debugging?
When you try to debug the endpoint in the document shared by Apidog, I get ...
Why does Apidog report an error when the response is too large?
Apidog's front-end may run into issues related to Node.js string length limits when handling oversized interface responses. Node.js uses the V8 en...
How do I use the Apidog recording endpoint?
Apidog does not currently support the automatic recording endpoint function, but there are plans to support it in the future.
There is currently a qui...
When defining an endpoint response, is it allowed for the endpoint to have no response content?
Troubled to upgrade to the latest version, the endpoint definition supports setting the content format of the response to No-Content, which means that...
How do I get the service baseURL in a custom script?
Apidog provides the pm.request.getBaseUrl() method to get the baseURL of the current endpoint.
It is recommended to use the above instead of pm.enviro...
How do I view the original packet in Apidog?
Apidog does not need to print to the console, and there is a "Actual Request" tab in the return message, and you can see the original reques...
How do I make an asynchronous request in an Apidog script?
Apidog supports using the pm.sendRequest function in custom scripts to initiate asynchronous requests. For details, see Apidog Postman scripts referen...
What is the console print size limit? Why Do I Get an Error When I Print a Large File?
Apigog's console print size is limited to 1024 * 1024 bytes (1MB). This is a limitation of Node.js, and currently Apidog does not support configur...
How do I upload a file on an endpoint request?
If you need to upload a file for API request, you need to switch the requested body to form-data format, and set the corresponding field to file type,...
What to Do If Apidog crashes or Response Data Isn’t Showing ?
What’s Happening?
It’s very rare, but you might occasionally find Apidog crashing, and when you reopen it, the response data for your API calls might ...