Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

issue using form data in application integration (REST API TASK)

Hi everyone , i need your assistance in how to utilize the body of the request of type form-data  in POST method  in GCP application integration.

[POST] http://myendpoint.come/v1/serviceName

[BODY] : 

Key : val1 , value=val1

Key : val2 , value=val2

0 2 126
2 REPLIES 2

Could you let me know if you tried adding the content type to the header? I never use form data. However, when I use JSON, it only works after I add the content type.

Hi @dev_aasi ,
Have you tried setting the Content-Type header as "application/x-www-form-urlencoded"  and body as : "key1=value1&key2=value2" in the rest task?

Top Labels in this Space