- Since Postman doesn't support RSA encryption yet, I had to download and use:
- jsrsasign The free pure JavaScript cryptographic library.
- Please check If Postman is supporting RSA encryption before using this script:
- Just copy and paste the script to the Pre-request Script tab, in your postman request window.
- You have to replace YOUR-PLAIN-TEXT, YOUR-PUBLIC-KEY, and YOUR-HEADER-NAME in the script, with yours. The public key should start with: -----BEGIN PUBLIC KEY-----
- Inspired by: