You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for all the work that you guys have been put into this.
Have you got any guide where you guys show how to add a custom header to a request?
I have have tried different options but unfortunately nothing seems to work.
Basically I want to add
Authorization: Bearer
in my header.
Would you guys please post an example on how to achieve this?
Here is my code:
$nameespace = 'http://some-namespace';
$headerbody = array('Authorization' => "Bearer token");
$bearer_header = new SOAPHeader($nameespace, 'RequestorCredentials', $headerbody);
Hi team,
Thank you for all the work that you guys have been put into this.
Have you got any guide where you guys show how to add a custom header to a request?
I have have tried different options but unfortunately nothing seems to work.
Basically I want to add
Authorization: Bearer
in my header.
Would you guys please post an example on how to achieve this?
Here is my code:
$nameespace = 'http://some-namespace';
$headerbody = array('Authorization' => "Bearer token");
$bearer_header = new SOAPHeader($nameespace, 'RequestorCredentials', $headerbody);
Thank you in advance.
Regards
The text was updated successfully, but these errors were encountered: