post method with freescale http server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

post method with freescale http server

2,152 Views
fabC
Contributor I
I use the freescale http server. I have downloaded it on the freescale web site. I'd like to use the http post methode.

According to the header of the file "freescale_http.c"(part of the freescale http server), "The web server supports 'GET', 'POST','EMG'".

But int the header of the function freescale_process_header, it's written "We currently support GET and EMG.". In this function, there is no code corresponding to post. Does it mean that the post message is not actually available and will be soon available?

Has anyone else tried to use the post?


Thanks

Fabrice
Labels (1)
0 Kudos
Reply
4 Replies

595 Views
NT
Contributor I
Hi fabrice
I was able to get POST working.
 
Please go to the following link.
 
Thanks,
NT
0 Kudos
Reply

595 Views
DavidS
NXP Employee
NXP Employee
Hi Babrice,
The POST comment is only a comment and the POST was not implemented but is on the "to-do" list.
We/Freescale are looking to implement some POST capability for handling the erase and program of the "dynamic flash file system".  Hopefully we'll have an update to the code base in early February or sooner if possible.
Regards,
David
0 Kudos
Reply

595 Views
mjbcswitzerland
Specialist V
Hi fabC

You may like to  take a look at the uTasker project. This supports the post method, including posting software uploads to the board.

The project is open source and completely free for non-commercial use - it is also fully supported and documented - see the web site www.uTasker.com and its forum at http://www.uTasker.com/forum/

Can you explain what the EMG method is? I haven't heard of this before.

Regards

Mark



0 Kudos
Reply

595 Views
fabC
Contributor I
Hi mark,

Thank you for your help, but I'd like to use the "coldfire lite http webserver" . Some developments have already been done with it.

The EMG method is a method developped by freescale to update software using port 80.

regards
0 Kudos
Reply