Skip to content

Instantly share code, notes, and snippets.

@smallufo
Created August 18, 2020 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smallufo/517ca41f45bdcaa400e053a96475c98e to your computer and use it in GitHub Desktop.
Save smallufo/517ca41f45bdcaa400e053a96475c98e to your computer and use it in GitHub Desktop.
2020-08-18 16:51:09.753 [main] INFO c.g.a.c.h.HttpRequest - curl -v --compressed -X POST -H 'Accept-Encoding: gzip' -H 'Authorization: <Not Logged>' -H 'User-Agent: great36 Google-API-Java-Client/1.30.10 Google-HTTP-Java-Client/1.36.0 (gzip)' -H 'x-goog-api-client: gl-java/11.0.4 gdcl/1.30.10 mac-os-x/10.14.6' -H 'Content-Type: application/json; charset=UTF-8' -H 'Content-Encoding: gzip' -d '@-' -- 'https://www.googleapis.com/calendar/v3/calendars/3fxxxxxxxxxxxxxxxxxxxxdggc@group.calendar.google.com/events' << $$$
2020-08-18 16:51:09.754 [main] TRACE s.u.l.i.LoggingProviderImpl$JULWrapper - ProxySelector Request for https://www.googleapis.com/calendar/v3/calendars/3fxxxxxxxxxxxxxxxxxxxxdggc@group.calendar.google.com/events
2020-08-18 16:51:09.754 [main] TRACE s.u.l.i.LoggingProviderImpl$JULWrapper - Looking for HttpClient for URL https://www.googleapis.com/calendar/v3/calendars/3fxxxxxxxxxxxxxxxxxxxxdggc@group.calendar.google.com/events and proxy value of DIRECT
2020-08-18 16:51:09.755 [main] TRACE s.u.l.i.LoggingProviderImpl$JULWrapper - Creating new HttpsClient with url:https://www.googleapis.com/calendar/v3/calendars/3fxxxxxxxxxxxxxxxxxxxxdggc@group.calendar.google.com/events and proxy:DIRECT with connect timeout:20000
2020-08-18 16:51:09.943 [main] TRACE s.u.l.i.LoggingProviderImpl$JULWrapper - Proxy used: DIRECT
2020-08-18 16:51:10.349 [main] DEBUG s.u.l.i.LoggingProviderImpl$JULWrapper - sun.net.www.MessageHeader@54b4487911 pairs: {POST /calendar/v3/calendars/3fxxxxxxxxxxxxxxxxxxxxdggc@group.calendar.google.com/events HTTP/1.1: null}{Accept-Encoding: gzip}{Authorization: Bearer ya29.c.KpcB2AfuOXz3v_xxxxxxxxxxxxxxxxxxFES2A}{User-Agent: great36 Google-API-Java-Client/1.30.10 Google-HTTP-Java-Client/1.36.0 (gzip)}{x-goog-api-client: gl-java/11.0.4 gdcl/1.30.10 mac-os-x/10.14.6}{Content-Type: application/json; charset=UTF-8}{Content-Encoding: gzip}{Host: www.googleapis.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}{Transfer-Encoding: chunked}
2020-08-18 16:51:10.355 [main] INFO c.g.a.c.u.LoggingByteArrayOutputStream - Total: 251 bytes
2020-08-18 16:51:10.356 [main] INFO c.g.a.c.u.LoggingByteArrayOutputStream - {"description":"A chance to hear more about Google's developer products.","end":{"date":"2020-08-18T17:00:00.000+08:00"},"location":"800 Howard St., San Francisco, CA 94103","start":{"date":"2020-08-18T16:00:00.000+08:00"},"summary":"Google I/O 2015"}
2020-08-18 16:51:10.604 [main] DEBUG s.u.l.i.LoggingProviderImpl$JULWrapper - sun.net.www.MessageHeader@31f31b2016 pairs: {null: HTTP/1.1 400 Bad Request}{Cache-Control: no-cache, no-store, max-age=0, must-revalidate}{Date: Tue, 18 Aug 2020 08:51:10 GMT}{Content-Type: application/json; charset=UTF-8}{Expires: Mon, 01 Jan 1990 00:00:00 GMT}{Pragma: no-cache}{Vary: Origin}{Vary: X-Origin}{Vary: Referer}{Content-Encoding: gzip}{Server: ESF}{X-XSS-Protection: 0}{X-Frame-Options: SAMEORIGIN}{X-Content-Type-Options: nosniff}{Alt-Svc: h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"}{Transfer-Encoding: chunked}
2020-08-18 16:51:10.608 [main] INFO c.g.a.c.h.HttpResponse - -------------- RESPONSE --------------
HTTP/1.1 400 Bad Request
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Server: ESF
X-Content-Type-Options: nosniff
Pragma: no-cache
Date: Tue, 18 Aug 2020 08:51:10 GMT
X-Frame-Options: SAMEORIGIN
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Encoding: gzip
Vary: Referer
Vary: X-Origin
Vary: Origin
Expires: Mon, 01 Jan 1990 00:00:00 GMT
X-XSS-Protection: 0
Content-Type: application/json; charset=UTF-8
2020-08-18 16:51:10.616 [main] INFO c.g.a.c.u.LoggingByteArrayOutputStream - Total: 171 bytes
2020-08-18 16:51:10.617 [main] INFO c.g.a.c.u.LoggingByteArrayOutputStream - {
"error": {
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "Bad Request"
}
],
"code": 400,
"message": "Bad Request"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment