Newbie Error / Question

Oct 29, 2010 at 5:56 AM

Hello all.

Let me preface this by saying I am not a C# dev but have been given the job of investigating the possibility of creating a C# REST client for our API so I am just putting together simple test console program.

I am using .Net 3.5,
Hammock-REST library v1.0.4 ( )
JSON.Net Release 8
SharpDevelop if that is any use.

I have created a very simple hello world style app to test Hammock and together. The code is mostly taken from the documentation site and can be found here along with the error:

The API I am using for testing is open so running the program with lines 36-42 commented out will show the json that is being returned

 {"response":{"lines":[{"name":"Central","id":"central","status":"good service","messages":[],"status_starts":"Wed, 27 Oct 2010 16:23:02 +0100","status_ends":"","status_requested":"Fri, 29 Oct 2010 06:53:34 +0100"}]}}

I am afraid I cannot figure out why the error is occurring so any help would be much appreciated.