Skip to Content
0
Dec 30, 2020 at 06:03 PM

How to replicate form-data body payload in Hana xsjs code

69 Views Last edit Jun 24, 2021 at 07:03 AM 4 rev

Following snapshot depicts body payload in postman while calling API in POST method which I am trying to replicate in HANA XSJS code to consume API data. Can anyone please help me with HANA XSJS code for setting up the body with form-data payload before requesting for response?

Attachments

xsjs-postman.png (21.9 kB)