-1

i need to send json payload to a given URL usin web/http protocol. I have a web url and a payload only.

how do i send the request ?

Thanks a lot in advance

pushpak

2 Answers2

1

Something like this to send login credentials to myUrl:

web_custom_request("myUrl",
"URL=http://myUrl.com",
"Method=POST",
"RecContentType=application/json",
"Body="
"{"
"\"name\":\"myName\"m\,"
"\"password\":\"myPassword\""
"}"
LAST);
Buzzy
  • 2,905
  • 3
  • 22
  • 31
0

Have you recorded the JSON conversation with VUGEN to see what it looks like?

James Pulley
  • 5,606
  • 1
  • 14
  • 14