gapi.client.request and custom HTTP headers

1,091 views
Skip to first unread message

Petar Chakarov

unread,
Jun 18, 2015, 4:10:03 AM6/18/15
to google-api-jav...@googlegroups.com
Hello,

We are trying to send custom HTTP headers with https://developers.google.com/api-client-library/javascript/reference/referencedocs#--------gapiclientrequestargs------ but unfortunately we are able to send only standard headers and no custom ones. It's possible to send custom headers with the objective-c client. Is this a bug or desired functionality ?

Here is a code sample where Authorization header is sent successfully but not the customheader:



Thanks

Yogesh N

unread,
Sep 3, 2015, 3:02:21 AM9/3/15
to Google API JavaScript Client
Hi,

Even i am facing this issue. Can any one help us out, how to send custom headers in the request. Its urgent requirement.

Thanks,
Yogesh

Amardeep Singh

unread,
Dec 2, 2016, 1:01:04 PM12/2/16
to Google API JavaScript Client
Any update on this?
Reply all
Reply to author
Forward
0 new messages