Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(curl): configuration setting to pass additional options to curl …
…command for "Try it out" (#6288) Allows `requestInterceptor` to add options to the curl command. For example: ```js requestInterceptor: function (request) { if (request.method === 'GET') { request.curlOptions = ['-g'] request.url = request.url .replace('%5B', '[') .replace('%5D', ']') .replace('%2C', ','); } return request; } ```
- Loading branch information
1 parent
95fd3e7
commit cbe99c8
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters