Avatar

Level 1

yes, but my question on POST method

Example:

var http = new HttpClientRequest("http://reqres.in/api/users");

http.header["Content-Type"] = "application/json";

http.body=JSON.stringify({

"name": "morpheus",

"job": "leader"

});

http.method="POST";

http.execute();

var response=http.response;

logInfo("output code"+response.code);

logInfo("output value"+response.body);

above sample code, i tried to connect the endpoint but it doesnt work. can

you please help me to identify the error if any. thanks.

On Tue, May 8, 2018 at 2:00 PM, marcel.gent.86 <forums_noreply@adobe.com>