Hi all,
This is more a javascript question than a Sentinel Hub question but I hope that some people here know the answer.
I saw the announcement of the new statistical API and its documentation at:
docs.sentinel-hub.comExamples of Statistical API
Statistical API examples in Python and a Postman collection. To execute them you need to create an OAuth client.
However I could not wrap my head around that axios/oauth business. I am able to use axios to get an access token to use the Catalog API, but I do not know how to use this access token as the “oauth” object shown in the previous link to make POST requests against the new statistical API URL.
Has anyone managed to make work the whole pipeline?
PS: the axios documentation was of no help either.