Google API token endpoint POST returns Bad Request 400
问题 I am trying to exchange a one-time Google Plus Authorization code for an access token. But I keep on getting a 400 Bad Request. I am using VB.NET. Here is the code: 'We should now have a "good" one-time authorization code stored in "code" Using Client As New WebClient() 'Dim Client As New WebClient() Dim values As New NameValueCollection() Dim Resp Dim responseString As String values("code") = Request.QueryString("code") values("client_id") = ConfigurationManager.AppSettings("google.clientid"