Closed warademilind closed 4 months ago
@authorjapps , @santhoshTpixler can you help me here.
I have also tried with removing body part as shown in example (https://github.com/authorjapps/zerocode/wiki#empty-http-body-payload) but same issue persists-
url:https://test.com/APIGateway/api/v1/TestSub
method:POST
request:
{
"headers" : {
"Authorization" : "Bearer dasd.dasd.dasdsd",
"IPAdress" : "192.168.1.1",
"BrowserSessionID" : "rerdfsd",
"ServiceType" : "web",
"Content-Type" : "application/json",
"AuthToken" : "12333-FD7E-4834-AD3B-4234324"
}
}
HTTP Error 411. The request must be chunked or have a content length.
The error what you get is a response from the server. Your server is complaining that:
HTTP Error 411. The request must be chunked or have a content length.
So it could be it is expecting an additional header actually. e.g.
"Content-Length" : "2048",
Try the above and rerun, could potentially resolve this.
[!WARNING] 2048 or a different value? please check with your API provider for the correct value
Below is log -
In Postman, same request works properly. Please do needful help. I am using zerocode-tdd.version - 1.3.35 and 1.3.43