Skip to main content

Listing source in API

  • April 26, 2024
  • 4 replies
  • 138 views

Is there a way to specify the source in the WMS API instead of always going to configuration utility and changing the source?

4 replies

Sure it is, but you need to use Process API, not OGC. Find some example here:

docs.sentinel-hub.com
6adc0c17c58b09f5b8063eac7b1d8a910040498a.png

Examples for S2L1C

Use these CURL and Postman examples to access Sentinel-2 L1C data with Sentinel Hub Processing API.

(the “type” parameter)


Hi, I receive the following error when calling the above API:

{
“error”: {
“status”: 500,
“reason”: “Internal Server Error”,
“message”: “MessageBodyReader not found for media type=application/octet-stream, type=class io.jsonwebtoken.impl.DefaultClaims, genericType=class io.jsonwebtoken.impl.DefaultClaims.”,
“code”: “RENDERER_EXCEPTION”
}
}


Can you provide the actual API request?


I got the required solution, thanks.