Note that there are some explanatory texts on larger screens.

plurals
  1. POHttp Client application to test REST API with oauth
    primarykey
    data
    text
    <p>I am currently developing an application that will have a regular web interface but also a RESTful API that will be used mostly on mobile phone apps. I am using the Rails <a href="https://github.com/pelle/oauth-plugin" rel="nofollow">OAuth-plugin</a> here, so my API supports OAuth 1 and 2. This works all fine so far.</p> <p>The only problem I have is with testing the API. I have found some tools that I can use to make requests to my API like <a href="https://chrome.google.com/webstore/detail/cokgbflfommojglbmbpenpphppikmonn" rel="nofollow">RESTConsole for Chrome</a> or <a href="http://itunes.apple.com/de/app/rested/id421879749?mt=12" rel="nofollow">RESTed</a> and they all can test OAuth, but they don't provide an API themselves that I can use as the <strong>callback service</strong>. When I register an OAuth client in my application I have to enter some fake callback URL, do the authorization process and then get the <em>OAuth token</em> from the database and insert it into the console manually. Especially when testing the revocation of tokens this gets pretty cumberome. </p> <p>Does anybody know of any test clients that can totally automate the testing process? That means that the test cleint includes some sort of callable endpoint that I can use as the callback URL for my app...</p> <p>Thanks for your help in advance. I've been searching the internet for quite some time now and this is my last resort before starting to develop my own.</p> <hr> <p>I will be going to accept Jon's answer, although I am not very pleased with the solution ... Whoever is interested, I'm going to roll my own little test client. If anybody is interested: <a href="https://github.com/klaustopher/knole" rel="nofollow">https://github.com/klaustopher/knole</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload