Re: HTTP Body Size

2018-02-08 Thread Douglas Cryer via 4D_Tech
Re: > On 8 Feb 2018, at 15:57, 4d_tech-requ...@lists.4d.com > wrote: > > I wouldn't do this, it trims the BLOB at 32K unless you specify the UTF8 > constants (see docs). > you might want to consider CONVERT FROM TEXT instead. > >> 2018/02/08 17:36、Douglas

Re: HTTP Body Size

2018-02-08 Thread Douglas Cryer via 4D_Tech
Jeremy, Thanks. I have tried setting the headers with various values for Content-Type despite the documentation stating that these are defaulted for the different data types. http://doc.4d.com/4Dv15/4D/15.5/HTTP-Request.301-3576985.en.html

Re: HTTP Body Size

2018-02-08 Thread Jeremy French via 4D_Tech
Hi Doug, When you use "HTTP Request" command with the "HTTP Post method" constant, I believe you also need to submit request headers. In particular, headers such as: Content-Length Content-Type Regards, Jeremy > $vl_Status:=HTTP Request(HTTP Post Method;”MYURL”;$vx_Request;$vx_Response) > /

Re: HTTP Body Size

2018-02-08 Thread Keisuke Miyako via 4D_Tech
I wouldn't do this, it trims the BLOB at 32K unless you specify the UTF8 constants (see docs). you might want to consider CONVERT FROM TEXT instead. > 2018/02/08 17:36、Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> のメール: > TEXT TO BLOB($vt_Request;$vx_Request) **

Re: HTTP Body Size

2018-02-08 Thread Douglas Cryer via 4D_Tech
Jeremy, Re: > Instead of a text variable, you can also use a blob variable to avoid the > size limitation. > > http://doc.4d.com/4Dv16R5/4D/16-R5/WEB-GET-HTTP-BODY.301-3481155.en.html > Yes in fact I am declaring the bo

Re: HTTP Body Size

2018-02-07 Thread Jeremy French via 4D_Tech
Hi Doug, Instead of a text variable, you can also use a blob variable to avoid the size limitation. http://doc.4d.com/4Dv16R5/4D/16-R5/WEB-GET-HTTP-BODY.301-3481155.en.html Best regards, Jeremy French > On Feb 7, 2018, at 4:25 AM, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >