AnsweredAssumed Answered

How do I consume a (non-Esri) REST API in a custom widget?

Question asked by c_sharp_dotnet on Jul 19, 2017

I'm wondering what the best or recommended practice is for consuming a REST API within a custom widget.  Suppose the API implements oAuth2 and I am provided an API key and secret.  How do I best communicate with the API from the widget so that the client does not see the API key/password?