IBM QRadar SOAR

IBM QRadar

Join this online topic group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Security
#QRadar
#SecuringhybridcloudandAI
 View Only
  • 1.  "Call Rest API "function - how to pass multiple values in rest_body

    Posted 01/21/21 05:34 PM
    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
    ------------------------------


  • 2.  RE: "Call Rest API "function - how to pass multiple values in rest_body

    Posted 02/15/21 01:27 PM

    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
    ------------------------------