I am trying to connect to rackspace using their api and passing my username and api key but i get this error :
The remote server returned an error: (401) Unauthorized.
here is my code :
UserCredentials userCreds = new UserCredentials("myusername", "myapikey");
Connection connection = new Connection(userCreds);
I have followed this tutorial :
http://www.rackspace.com/knowledge_center/index.php/Sample_CSharp_Application
have asked their support and they say we can connect with same key using curl...and they couldnt provide much help.
anyone has any idea?
thanks