View previous topic :: View next topic |
Author |
Message |
elcomportal
Joined: 12 Jun 2005 Posts: 51 Location: germany
|
Posted: Thu Oct 23, 2014 5:06 pm Post subject: send data with $_POST |
|
|
Hi,
is it possible to send data to a webserver using $_POST?
My AVR have 512byte data, which i want to send to a webserver to store it in a data base.
Is it possible to use SSL? (https://mysite.com/insert.php)
Regards
Torsten _________________ high current makes you small, black and ugly!! |
|
Back to top |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Thu Oct 23, 2014 11:54 pm Post subject: |
|
|
Hello elcomporta
Yes you can, if you look in the blog section at my W5100 web server project you can see how I use both Post and Get.
I have written the code there to extract the the data sent in the Post.
Regards Paul |
|
Back to top |
|
|
elcomportal
Joined: 12 Jun 2005 Posts: 51 Location: germany
|
Posted: Fri Oct 24, 2014 9:20 am Post subject: |
|
|
... but i don't see any code...
But i don't want to send POST data to the AVR but from the AVR to another webserver...
regards
Torsten _________________ high current makes you small, black and ugly!! |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Fri Oct 24, 2014 4:12 pm Post subject: POST, an example... |
|
|
From the time there was no W5100/W5200/W5300 library I have made some POST routines.
Check this page
http://members.home.nl/bzijlstra/software/examples/wiz810mj.htm
And do a search on POST on that page.
It is not exactly what you are looking for but perhaps you get the idea how it is working.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Fri Oct 24, 2014 4:17 pm Post subject: Post and Twitter..... |
|
|
Did remember that the Twitter example for the Wiz810MJ does use a POST...
Search this forum for the complete Twitter example. Also from the time there were no W5100/W5200/W5300 libraries.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
|