µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: neil on December 24, 2010, 12:17:21 PM

Title: connecting to a HTTP server
Post by: neil on December 24, 2010, 12:17:21 PM
Hi Mark,
  I have an application where I have to connect to an HTTP server and send a line, in where the server responds. I have to send the command "http://xxxxx/Info/result?;" . Is there anything in utasker where I can get it to build the full header to send?  I will get back 4k of data which I have set memory aside for.

Thanks
Neil

Title: Re: connecting to a HTTP server
Post by: mark on December 25, 2010, 03:03:17 PM
Hi Neil

There is no code in the project that builds client HTTP headers.

However I expect that you can make a recording of a Browser doing the same request and copy this to a TCP buffer for transmission in your own case - depending on brower type tested, the header may be quite different and you can probably strip down some of the content which is not of use.

Regards

Mark