I am trying to access a Magento REST API in my Android app, using Retrofit.
What have I tried:
But none of them have worked.
Retrofit 1.7 and OkHttp2.0RC2 don't work well with SignPost (at least the way the article suggest)
And when I downgrade for things to work, I get error HTTP 500
Error saying Internal Server Error
The same credentials work using REST Client plugin for Firefox.
Is there a working solution for implementing OAuth requests with Retrofit, or any other option?
Much thanks in advance.
Give it a try to this fix pakerfeldt's signpost-retrofit (A Retrofit extension to oauth-signpost OAuth Core 1.0a standard) !
Other fixes you can try:
Java wrapper for retrofit getglue-java.
OAuthClient by dzolnai.
Square's G+ discussion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With