I want to call a URL like this: http://DOMAIN.COM/?I...Data=78.3479283 This can be PHP, ASP or ASP.NET. I don't really care to use a web service or open a stream and write data as in the Pachube examples. Does anybody know how to do this using Netduino Plus and C#?
POST Data to Web Page
Started by Don Blaylock, Apr 03 2012 06:11 PM
2 replies to this topic
#1
Posted 03 April 2012 - 06:11 PM
#2
Posted 03 April 2012 - 07:42 PM
hi cheeto and welcome to the boards!
You could do this using the System.Net.HttpWebRequest object (in System.Http.dll), but it takes a lot of memory.
You could also, if you're familiar with the HTTP protocol, use regular sockets.
I wrote class for this as well, lighter as the System.Http.dll, but could do POST requests as well:
http://netmftoolbox....NET.HTTP_Client
You could do this using the System.Net.HttpWebRequest object (in System.Http.dll), but it takes a lot of memory.
You could also, if you're familiar with the HTTP protocol, use regular sockets.
I wrote class for this as well, lighter as the System.Http.dll, but could do POST requests as well:
http://netmftoolbox....NET.HTTP_Client
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#3
Posted 14 March 2013 - 11:51 AM
- can anyone provide a working example of asp.net webservice and netmf making netmftoolbos .post and it can be read from asp.net webservice...
- i have netduino and i want to do so..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users