- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was looking through the forum for an example of how the CYW943907 eval board, when configured as an HTML server, could process fields from a form using "post". I was able to follow the "application" example in the SDK which uses "get". Any pointers on this one? Thanks!
Solved! Go to Solution.
- Labels:
-
Web Services
-
Wireless MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I was looking at the "appliance" application.
Update: I was able to get a form POST to work by:
1) Employing a simple HTML form in the webpage (action ="/button_handler" method ="post") (I didn't use javascript/ajax).
2) The submitted text data length shows up in http_message_body->message_data_length, and the data is pointed to by http_message_body->data. The data can then be parsed/processed as required.
The same idea pertains to uploading a file, also. I can upload a file and parse it as well.
Thanks!