I was facing the same issue with Azure Storage service. I had to enable CORS on the storage account settings in addition to adding the header: 'Access-Control-Allow-Origin: *' in the post request.