Error while creating a new User using ribbit api
Hi All,
I am using ribbit api to create a new user by this :
String userId = But it ends up with the below error :
Jul 16, 2010 3:52:32 AM com.ribbit.rest.SignedRequest send
WARNING: POST request to https://rest.ribbit.com/rest/1.0/users Body - {"login":"gopal@gmail.com","password":"gopal"} headers - Auth
orization: OAuth realm="%22http%3A%2F%2Foauth.ribbit.com%22", oauth_consumer_key="null", oauth_signature_method="HMAC-SHA1", oauth_t
imestamp="1279277551438", oauth_nonce="7d3c172d-9124-496c-a43f-de724813c19c", oauth_signature="%2Fc77Qz0dAph85333DJrs6LqOf3E%3D", xo
auth_body_signature_method="HMAC-SHA1", xoauth_body_signature="OJ1SyXEdzJNVJQ41SNampylVVyE%3D"
User-Agent: ribbit_java_library_1.6.0
Accept: application/json
Response - status - 401 - Text - Not authorized!
Exception in thread "main" http error code - 401; Not authorized!
at com.ribbit.rest.exceptions.RibbitException.createException(RibbitException.java:54)
at com.ribbit.rest.SignedRequest.send(SignedRequest.java:452)
at com.ribbit.rest.SignedRequest.post(SignedRequest.java:156)
at com.ribbit.rest.RibbitUser.createUser(RibbitUser.java:200)
at com.ribbit.rest.RibbitUser.createUser(RibbitUser.java:255)
at CheckRibbitSMSApi.main(CheckRibbitSMSApi.java:7)
Can anyone help me out please :(

