Skip to content

exporting to code - add JavaScript/superagent #6331

Open
@oprogramador

Description

@oprogramador

Is your feature request related to a problem? Please describe.
IMO it's a problem. Often I need a code working in Node.js from a cURL request. For JavaScript there are only JQuery AJAX and XHR. AFAIK XHR is impossible to use in Node.js and JQuery is possible but in practice practically nobody uses it because it's not the simplest way to send a request in Node.js. I prefer using superagent.

Describe the solution you'd like
In this place, after clicking Code there should be additional options:
Screenshot 2019-04-21 at 02 19 32

Describe alternatives you've considered
Ideally it would be to support all the most popular JavaScript HTTP calls libraries:

Additional context
JavaScript is the most popular language on GitHub. Especially in context of performing HTTP requests, it's very popular because it can be used on backend (with Node.js), frontend, desktop (with Electron) and mobile (with React Native) so IMO Postman should support all the most popular JavaScript HTTP request libraries. For me, currently, superagent is enough but other JS developers are likely to want a support for other libraries and maybe even me, in the future, I will be using another HTTP calls library for some new project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions