Nowadays the majority of the third party web services use HTTPS to secure the traffic. To troubleshoot your code you may need to check exactly what is being sent and received by your server.
Using Charles Proxy you can monitor the data that is sent to the server and the responses.
How to monitor HTTPS traffic
1. Download and install Charles Proxy http://www.charlesproxy.com/
Note: Missing how to install the Charles' CA certificate.
2. Start Charles. By default, it decrypts SSL traffic.
3. Start your program and see the data at the Charles Windows.
Note: Charles Proxy only sees the packets if the program that you want to monitor is Using IE internal objects (for example, XmlHttp) to connect to the internet.
Another tool similiar to this one is Fiddler http://www.fiddler2.com/fiddler2/