post method with freescale http server

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

post method with freescale http server

2,607 次查看
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
标签 (1)
0 项奖励
回复
4 回复数

1,050 次查看
NT
Contributor I
Hi fabrice
I was able to get POST working.
 
Please go to the following link.
 
Thanks,
NT
0 项奖励
回复

1,050 次查看
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 项奖励
回复

1,050 次查看
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 项奖励
回复

1,050 次查看
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 项奖励
回复