Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Good day,
i have been battling to simulate the postman execution that imports the javascript library
https://kjur.github.io/jsrsasign/jsrsasign-latest-all-min.js
KJUR.jws.JWS.sign. i even took the function from the library within a web.page but powerquery not executing
After so many attempts to add the javascript function in Web.Page but the json and function just do not execute. Now I am back in retrying the exercise connecting to Netsuite rest api signed certificate from powerquery.
The "alg":"PS256","typ":"JWT","kid":".." algorithm
Please Any help
@icassiem
Web.Contents is the appropriate power query function for APIs. It supports relative path, Headers and body parameters using which you can send your payload. I would suggest you to go through this page:
https://learn.microsoft.com/en-us/powerquery-m/web-contents
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
Hi
Thank you for assisting @tharunkumarRTK
The issue is more that netsuite use that Javascript function and algorithm to sign the certificate for generating an assertion key
KJUR.jws.JWS.sign('PS256'
Any thoughts please, my senior wants to cancel the project due to this?
Regards