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
The following line in Google.Apis.Requests.Request throws a
NullReferenceException if Authenticator is null:
HttpWebRequest request =
this.Authenticator.CreateHttpWebRequest(this.Method.HttpMethod, RequestUrl);
This prevents developers to use APIs that don't require authentication, as in
the following snippet:
Request request = Request.CreateRequest(service, method);
var stream = request.WithParameters(requestParameters).ExecuteRequest()
Original issue reported on code.google.com by ccherub...@google.com on 31 Jan 2011 at 2:07
The text was updated successfully, but these errors were encountered:
Hi Claudio,
I have added the ability to not supply an Authenticator, I have also added to
IRequest the method WithDeveloperApiKey(string).
This was added on branch issue_21_AddNullAuthenticatorSuppoort
I will ask paul to pull this change into default.
Original comment by davidwat...@google.com on 1 Feb 2011 at 1:12
Original issue reported on code.google.com by
ccherub...@google.com
on 31 Jan 2011 at 2:07The text was updated successfully, but these errors were encountered: