I'm trying to query Azure query blob content through REST API, following the documentation below
https://learn.microsoft.com/en-us/rest/api/storageservices/query-blob-contents
I made my blob contents public for testing and a GET request to blob URI is giving the content, but making a post request to mentioned URI
https://myaccount.blob.core.windows.net/mycontainer/myblob?comp=query (replaced myaccount, mycontainer and myblob)
gibing me following error
<Error>
<Code>InvalidQueryParameterValue</Code>
<Message>Value for one of the query parameters specified in the request URI is invalid.
RequestId:1c52fc4f-801e-0061-63fc-f98163000000
Time:2021-02-03T07:15:32.9547540Z</Message>
<QueryParameterName>comp</QueryParameterName>
<QueryParameterValue>query</QueryParameterValue>
<Reason />
</Error>```
blob content is JSON and Blob is a Block Blob type