Hi,
I want to upload some data from ROS 7 to Azure Tables via API and SAS tokens, but I’m facing an issue.
First of all the curl/postman sample works fine:
curl --location --request POST 'https://instance.table.core.windows.net/tablename?SAS' \
--header 'Content-Type: application/json' \
--data-raw '{
"PartitionKey": "value1",
"RowKey": "value2"
}'
I can also get data from Azure via GET request
/tool fetch mode=https http-header-field="Accept:*/*" url="https://instance.table.core.windows.net/tablename?SAS" http-method=get
But the POST call fails with 415 Unsupported Media Type:
/tool fetch mode=https http-header-field="Accept:*/*;Content-Type:application/json;" url="https://instance.table.core.windows.net/tablename?SAS" http-method=post http-data="{\"PartitionKey\":\"value1\",\"RowKey\":\"value2\"}"
Do you have any hints what’s wrong or what topic to look for? I tried searching but haven’t found the answer.
Thanks in advance for any hints!