Details
-
Sub-task
-
Resolution: Done
-
None
-
Empty show more show less
Description
problem:
"Currently, Zend\Http\Client only supports basic HTTP authentication."
(https://docs.zendframework.com/zend-http/client/advanced/#http-authentication)
=> How to access GroupShares Translation Memeory Service? (The API requests a bearer token for Authentication.)
solution:
$http->setHeaders('Authorization: Bearer ' . $bearerToken);