kwoxer
(Curtis Mosters)
1
I want to get authed by my REST Api. That works in Postman with this Body that is sending a raw JSON.

But how am I able to send raw JSON with the HTTP Request
activity?
Iβm just able to send usual Post parameters.
But my REST Api service does not allow that. I really have to use raw JSON.
How to achieve that with that that activity? Or do I have to use a curl
command instead?
GBK
(GBK)
2
@kwoxer - for a raw json -
create a variable and assign your json string - then assign the string variable toHttpRequest ->body property.
ex: you variable as requestBody = {ββusernameββ:ββ+variableUser+ββ,ββpasswordββ:ββ+variablePassword+ββ}
HttpRequest β Properties β
Body β assign requestBody variable
AcceptFormat > JSON
1 Like
kwoxer
(Curtis Mosters)
3
Ok cool, changing BodyFormat worked out.
1 Like
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.