import requests response = requests.post('https://services.sentinel-hub.com/api/v1/process', headers={"Authorization" : "Bearer eyJraWQiOiJzaCIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJhNjkyODJhMS1iOTE0LTRlNWMtYTRjMy1mZTEyOTQ2ZWQyMzkiLCJhdWQiOiIzZTkyNzdiMy1hYTExLTRmOTgtYTE2MC0zYmYwMDYxMzBjYzciLCJqdGkiOiI1OWI5NzUyYy1kYjEzLTQyNDItOTdhNC0yZWY0ODhlYTRmNDIiLCJleHAiOjE2Njk2MTM2NTIsIm5hbWUiOiJLaGVsbyBLaGV0aSIsImVtYWlsIjoia2hlbG9raGV0aTQzMjFAZ21haWwuY29tIiwiZ2l2ZW5fbmFtZSI6IktoZWxvIiwiZmFtaWx5X25hbWUiOiJLaGV0aSIsInNpZCI6Ijc3MjFhODAwLWRlNDItNDgwYS1hYjZjLWNiNThjMDQ1Nzg3MCIsImRpZCI6MSwiYWlkIjoiNDhkNmJkNmMtNjdmNC00YjBiLTk2NDAtZDk0MzI2ZDVhNWI2IiwiZCI6eyIxIjp7InJhIjp7InJhZyI6MX0sInQiOjEyMDAwfX19.tSA1gmWFawhBiR-iDpauCYpAlHwxp32qCQHz9CsXVMW96NSPeOJWW9Z65ra-Rwyp75n3D3OTEgLhhp7kiKRvCXGgRAyVVkuvgBGIARNL7sjuo2KI6ir0tEKfy1rZR5L8Dn0nWVGeGJMfWC0JswSoem-4EuY1w8c_CFNfd6grc4FDLj3ISXrD9gSGSslHBLgto5kJgs7CYrjAV5lrX_QqLvfaZJxtKbrQekxY7WY6Cz1pJtIFuXF8PPh8lpotwjypXQGP8PS5MS11rftwz63X5aPq4ZLbD-vI6DZpizfC-jsCBpYs2XCVXLVN4CodaC2mKn6kakpUwBNM01N_M8AcDg"}, json={ "input": { "bounds": { "bbox": [ 13.822174072265625, 45.85080395917834, 14.55963134765625, 46.29191774991382 ] }, "data": [{ "type": "hls" }] }, "evalscript": """ //VERSION=3 function setup() { return { input: ["B02", "B03", "B04"], output: { bands: 3 } }; } function evaluatePixel( sample, scenes, inputMetadata, customData, outputMetadata ) { return [2.5 * sample.B04, 2.5 * sample.B03, 2.5 * sample.B02]; } """ }) print(response)