


Now, you’ll click Import to actually bring the collection into Postman. Once the file is selected, you’ll see the contents in the modal. Next, a modal will appear where you can either pick the Postman Collection file from a file picker or drag-and-drop the file onto the modal to import it. In Postman, click the Collections tab on the right side of screen and then click Import.

Click Download Postman Collection to download the collection file to your local machine.Īfter this, the Postman Collection will be downloaded and ready to load into Postman. Once you click the Run in Postman button, a modal will appear to allow you to download the collection. This will include the body, headers, params, etc. Simply select the checkboxes beside the calls you want to export and click Run in Postman to export them.Įxporting the calls into a Postman collection will include everything you need to recreate an API call. To export calls from Moesif, first, navigate to the Live Event Log screen.įrom there, you can select the calls that you want to export into the Postman Collection. By using Moesif’s export functionalities as part of your debugging method, you’re guaranteed that the API endpoint and debugger are receiving the same request data that caused the error. This helps developers to replicate the calls in Postman automatically by importing the generated Collection.ĭebugging best practices aim to ensure that the conditions in which you are debugging an error, match exactly with the conditions that caused the error. In Moesif, you can easily export all of your API call data into a Postman Collection. Since Moesif receives data around every aspect of a request, it makes it a great platform to export all of the details of a request so it can easily be replayed to assist with debugging. Moesif can also help to make the process of debugging APIs easier as well. This can enable developers to reproduce the scenario they are trying to debug in a consistent manner. By using a tool like Postman to create a request for debugging purposes and as an API client, you can easily replay an API request with the exact configuration of the original request. Trying to create an exact API request, especially for highly complex requests with large API request bodies and multiple headers, is essential but also tough to do. Debugging APIs can be a challenge for any developer dealing with RESTful APIs.
