Skip to content

A built-in tools to convert data #11135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
s53kr-lm8a6r opened this issue Aug 2, 2022 · 2 comments
Closed
1 task done

A built-in tools to convert data #11135

s53kr-lm8a6r opened this issue Aug 2, 2022 · 2 comments

Comments

@s53kr-lm8a6r
Copy link

Is there an existing request for this feature?

  • I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

as a developer, I usually needed to convert data to another type.
for example, there is probably a case where the data needs to be serialized to Base64 on some field, and therefore I used external tools frequently to convert those data.

Describe the solution you'd like

built-in tools for such activity would be useful, which may include (but are not limited to):

  • encryption and decryption
    • symmetric
    • asymmetric
  • serializer and deserializer
    • base64
    • hex
  • JWT parser
  • etc

Describe alternatives you've considered

what I've had in mind is somewhat like an inline converter (equivalent to some MD editors) or a dedicated drawer or modal to handle such activities.

Additional context

No response

@justneedham
Copy link

Ditto this would be neat. It'd be super handy to in-line a function to encode data in the request payload body. Similar to how the faker functions are built-in.

@appurva21
Copy link
Member

Hey there! 👋

Postman now supports importing external NPM packages directly into your scripts. That means popular packages for the mentioned use cases, such as jose, js-base64, etc., are easily available in scripts.

You can find more info on this here: #13542

I’ll close this ticket for now — feel free to open a new one if you run into anything or this does not fulfill your use case. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants