You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to convert a postman collection that I have to Bruno. In postman I had a variable that contains a JS script/libraby that I was loaing with eval in a pre-script. I try to do the same thing in bruno, but the variable doesn't support the content of the script, so I try another way. Using external javascript with nodejs. I followed that link : https://docs.usebruno.com/scripting/external-libraries.html
the error is : Error invoking remote method 'send-http-request': VMError: Module 'C:\Users\survivant\AppData\Local\Programs\bruno\fs' is not allowed to be required. The path is outside the border!
if I run the script in index.js with nodejs it works fine.
I want to convert a postman collection that I have to Bruno. In postman I had a variable that contains a JS script/libraby that I was loaing with eval in a pre-script. I try to do the same thing in bruno, but the variable doesn't support the content of the script, so I try another way. Using external javascript with nodejs. I followed that link : https://docs.usebruno.com/scripting/external-libraries.html
my package.json
and my pre-request-script
the error is :
Error invoking remote method 'send-http-request': VMError: Module 'C:\Users\survivant\AppData\Local\Programs\bruno\fs' is not allowed to be required. The path is outside the border!
if I run the script in index.js with nodejs it works fine.
PS. I took the private key from here as example : https://phpseclib.com/docs/rsa-keys
the library that I need to use is this : https://github.com/kjur/jsrsasign
if postman the equivalent is
The text was updated successfully, but these errors were encountered: