Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Can Content-Type be suppressed for GET Web Services Data Actions?

    Posted 7 hours ago
    In Web Services Data Actions, a minimal GET action with no configured headers and no requestTemplate still sends Content-Type: application/json.
     
    Is there any supported way to suppress or remove this runtime-generated Content-Type header for GET requests?
     
    Minimal request config used:
    {
      "requestType": "GET",
      "requestUrlTemplate": "https://postman-echo.com/get?source=genesys-no-template-no-headers"
    }
     
    Observed echo response includes:
    {
      "headers.user-agent": "PureCloud-Data-Actions",
      "headers.content-type": "application/json"
    }

    #DataActions

    ------------------------------
    David Sand
    Lead Developer
    ------------------------------


  • 2.  RE: Can Content-Type be suppressed for GET Web Services Data Actions?

    Posted 5 hours ago

    Hello,

    As far as I know, you can only update/override the value but not get the header removed.

    Regards,



    ------------------------------
    Jerome Saint-Marc
    Senior Development Support Engineer
    ------------------------------