Hi Anu,
Can you provide a little more information on how you're using the parameters to the function call? There are a number of function parameters which will effect this call. Here's a short guide:
"rest_method" : "GET", "POST", "DELETE", "PUT", "PATCH"
"rest_url": Your UL
"rest_headers": Json formatted name/value pairs such as { "Content-Type": "application/json" }
"rest_cookies": Json formatted name/value pairs
"rest_body": Json formatted name/value pairs
"rest_verify": True/False for verifying the https certificate or skipping validation
------------------------------
Mark Scherfling
------------------------------
Original Message:
Sent: Wed January 20, 2021 01:24 AM
From: Anu CN
Subject: "Call Rest API "function - how to pass multiple values in rest_body
Hello All, I'm getting "400 Client Error: Bad Request for url" when trying to send API request using the Utilities function for Resilient. Can some one please tell me how to pass multiple values in rest_body in the "Call Rest API" function.
------------------------------
Anu CN
------------------------------