francisli / processing-restclient

A Processing library for simple HTTP connectivity
Other
24 stars 5 forks source link

http header authorisation #10

Closed Russsgithub closed 7 years ago

Russsgithub commented 10 years ago

Is it possible to use http header authorisation with this library .OAuth seems to fail to authorise. Thanks

francisli commented 7 years ago

It is now possible to set arbitrary HTTP headers (http://francisli.github.io/processing-restclient/RESTClient_setHeader_.html). There's also a convenience helper for setting the typical OAuth2 authorization bearer token (http://francisli.github.io/processing-restclient/RESTClient_setBearerAuthorizationHeader_.html).