[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] HTTP 411 Length Required



 Hi Scott,
I am referring to this? Is it not the current version?

Initially, I have coded like this. Body is not required and I got the error length required.
RC      = http_req('POST'               : %trimr(DTAURL) + UOID         : *omit                         : RESP                          : *omit                         : *omit)              
Then I tried to modify like this and somehow it worked.
RC      = http_req('POST'               : %trimr(DTAURL) + UOID         : *omit                         : RESP                          : *omit                         : ' ')              

    On Thursday, 25 June 2020, 12:02:14 am GMT+8, Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:  
 
  
HTTPAPI version 1.4?   Did you mean to say 1.40?   (1.4 is from 2002)
 
Assuming you really meant 1.40, can you please tell us how to reproduce the problem?
 

 
 On 6/22/2020 3:14 AM, she lumbera wrote:
  
 
 Hello guys, 
 Newbie here. I am doing a simple HTTP_REQ(POST). For the request, the body is not sent and I am hitting the error 411 Length Required. I am using HTTPAPI version 1.4. I saw in the archived that his bug has already been fixed. Can anyone please help what could be causing this error and how to fix it?Thanks in advance.  -- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
  

PNG image

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi