O'Reilly logo

Getting Started with the Internet of Things by Cuno Pfister

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Test Server

For testing applications that send or receive HTTP messages, i.e., HTTP clients, you can use suitable tools for logging HTTP traffic, such as Wireshark (http://www.wireshark.org/) or Fiddler (http://www.fiddler2.com/). However, before issuing HTTP requests to a real web service out in the wild, you may want to know beforehand exactly what you would send. A simple test server is often all that you need. You run your client program (e.g., Example 7-1), on your Netduino Plus, and you run a .NET test server that logs an incoming request on your development PC.

In your client program for the Netduino Plus, change the request URI to something like this:

http://192.168.5.100:8080/testHello

but replace 192.168.5.100 with the Internet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required