I could only PUT an empty File in the AZure container as type BlockBlob with the IBM ACE HTTP Request Node...but on another system the same Ace Code code also put content.
- also when testing using POSTMAN, I can PUT and GET with one command including content.
- On another system when doing 'put' from postman a binary file is put directly to azure. The file is created and there is content without any other command.
- When doing a put from a different IBM ACE system using HTTPRequest Node the binary file is created and populated without any follow up commands.
The issue is that the HttpRequest for 'Put' seems to be treated differently than that from the other systems like POSTMAN and my other IBM ACE systems.
I mean given that Postman works fine with the same SAS KEY on a PUT request, and it works on other ACE Systems with different accounts that seem to all having the same settings -
does anyone have any ideas about issues?
---A 'PUT' from POSTMAN works fine...
For example:
When doing 'put' from postman a binary file is put directly to azure. The file is created and there is content without any other command.
When doing a put from a different IBM ACE system using HTTPRequest Node the binary file is created and populated without any follow up commands so there are no PUT BLOB and PUT BLOCK LIST issues.
So there must be something else...
Solved!!!
The issue was the API Version on which I created the container.
By default the latest Azure API Version is used for the container and it behaves differently to older versions.
using postman create a container aligned to the older API....
PUT - https://<storage account>.blob.core.windows.net/oldapi?restype=container&api-version=2011-08-18&<put the SAS KEY here>
then the put works normally from ACE.