« Back to full topics list
♥ 0 |
Hi, I need some help. I’m trying the below code: I tried the following script. var test = "abc" return http.request({ url: "http://mysterious-sierra-8455.herokuapp.com/abcd", method : 'PUT', headers : { "Content-Type": 'application/json', "Content-Length": "3" }, "rawBody": test }); But I am getting anthe following error: { "metadata": { "requestId": "f9908459-9bd2-4bdd-99d2-a83ca518b1a4", "status": "success", "statusCode": "200" }, "result": { "metadata": { "status": "failure", "errorCode": "HTTP_PROTOCOL_ERROR" } } } Can you tell me what’s wrong? ANSWERED
Marked as spam
|