5

When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server.

How can I fill out the form required to get api-key that will be used by my android client application?

1

You don't need a server to get an API key, or even to use OAuth2.

Set OAuth Domain to: stackexchange.com, and
Application Website to: https://stackapps.com/.

See this other answer for more information.

  • 1
    It works! Then can I send requests to api.stackexchange.com with jsoup or other HTTP libraries? – KYHSGeekCode Mar 15 '18 at 5:18
  • You can send queries even without a key, and using any tool that can fetch URL's and parse the JSON response. ... Look up how to do this; jsoup doesn't seem like a productive approach for API use. – Brock Adams Mar 15 '18 at 5:54
  • Thanks, then I'll try finding that libraries. (But by now my IDE is broken and abandons libraries and deoendencies... - - :() – KYHSGeekCode Mar 15 '18 at 5:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .