I'm using the BaseElements plug-in to do some Amazon S3 integration; uploading and deleting files. For each endpoint, I am passing our own home-grown API credentials as well as the AWS credentials and bucket name.
'upload' endpoint variables:
- u (API username)
- p (API password)
'delete' endpoint variables:
BaseElements appears to automatically encode the upload URL (my web guy says it's required to do a POST with attachments) but when I try the same with delete, it does not encode the URL parameters, so I have to do GetAsURLEncoded() on each variable before sending off the delete request. Conversely, if I do GetAsURLEncoded() on my upload URL parameters, it fails in a similar fashion.
So, this begs the question… does BE_HTTP_POST automatically encode URLs when sending attachments and not in other cases?
Link to BE_HTTP_POST function description: