You test your API using the Postman.
You create a collection and need to export it for creating a custom connector.
What are two elements that you need to remove from your collection before the export?
Click on the arrows to vote for the correct answer
A. B. C. D. E. F.Correct Answers: B and E
A custom connector is an API wrapper around the REST API.
You can create such a wrapper for Azure Functions, Azure Web Apps, Azure API apps.
When you create your application using one of these services, you need to describe the API's operations before exporting your application's APIs.
There are three approaches to how to create the API definitions: Using a blank custom connector.
Using an Open API definition.
Using a Postman Collection.
You can create a custom connector by importing the Postman collection JSON file.
After you test your APIs using the Postman, you can export the collection.
Postman creates the JSON file with the descriptions of your APIs.
But before exporting the collection, you need to remove or disable two elements: Authorization and Content-type.
You can disable Authorization from the Authorization tab (Number 1) on the central Postman panel by selecting the “No Auth” option from the Type drop-down (Number 2)
You need to save your changes using the Save button (Number 3).
Next, on the Headers tab (Number 1), you can uncheck the box in front of the Content-Type Key (Number 2) and save your changes (Number 3).
After these operations, you can export your collection from the Postman and import the JSON file as a custom connector definition.
All other options are incorrect.
For more information about preparing and using the Postman collections for the custom connectors, please visit the below URLs:
When exporting a collection from Postman to create a custom connector, there are two elements that should be removed:
Authorization: If the collection contains any authorization information, such as API keys or access tokens, these should be removed before exporting. This is because the custom connector will require its own authorization settings and it's not recommended to use the same authorization settings across different environments.
Tests: Tests are used to validate the response from the API, and are typically used during the development phase. However, tests should be removed before exporting the collection because custom connectors are not designed to execute tests. The tests will not function in the custom connector environment and can cause errors if included.
The other elements listed (Body, Content-type, Postman-Token, and Params) do not need to be removed before exporting the collection. However, it is important to ensure that these elements are configured correctly before exporting the collection to ensure that the custom connector functions as intended.