Hi folks,
i got stuck while using HTTP request and i am passing input as body but i dint got any solution for that
i need to pass following formate
{
“additionalInfo1”: “string”,
“additionalInfo2”: “string”,
“idType”: “string”,
“ids”: “string”,
“message”: “string”
}
In body i am passing like this
“{”“additionalInfo1"”: “”“”,““additionalInfo2"”: “””“,”“idType”“: “””“,”“ids”“: ““00000000"”,”“message””: “”“”}"
i put body format as json and i have tried with parameters too. please help me on this
thanks
Venky
AshwinS2
(Ashwin S)
September 17, 2019, 1:51pm
2
Hi @venkateshgorantla
Check this
@UiP_Mc ,
Once you close the wizard and look at the HttpClient properties, you’ll see Body under options. Put your payload here. I don’t see that option in the wizard.
[image]
Thanks
Ashwin S
Hi @AshwinS2 i have gone through that before i posted but it is not working in my case
HareeshMR
(Hareesh Madasi)
September 18, 2019, 9:07am
4
@venkateshgorantla
Replace all the double quotes in the body with single quotes and send it as a string to the request. Then check if it works
gracious1
(Gracious)
October 16, 2019, 12:50pm
5
I am having error
“timestamp”: 1571229582893,
“status”: 415,
“error”: “Unsupported Media Type”,
“exception”: “org.springframework.web.HttpMediaTypeNotSupportedException”,
“message”: “Content type ‘application/x-www-form-urlencoded’ not supported”,
“path”: “/v1/xxxxx/infobip/sms”
The request body is
{
“to”: “263772xxxxx”,
“text”:“Testing SMS n its a beautiful day Enjoy RPA”
}