Variable '$img' is the base64 decoded string of the image.
'/Test' is the directory inside Akamai.
Error - "e":"Client error: PUT https://hostname/cpcode/Test resulted in a 403 Forbidden response","file":"/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php","line":113,"code":403
Formatted Output
Wanted few clarifications on usage of the above library -
How to go about 403 Forbidden response?
Where to mention the name of the image to be uploaded?
How to give the image file path that exists on some other server to be uploaded to Akamai? (Instead of giving the file content)
Getting this
403 Forbidden
response for the code - Trying to upload an image file to Akamai storage.` $signer = new \Akamai\NetStorage\Authentication(); $signer->setKey($key, $keyName);
Variable '$img' is the base64 decoded string of the image. '/Test' is the directory inside Akamai.
Error - "e":"Client error:
PUT https://hostname/cpcode/Test
resulted in a403 Forbidden
response","file":"/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php","line":113,"code":403Formatted Output
Wanted few clarifications on usage of the above library -