Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > GET /api.php?meta=tokens&action=query&format=json&type=login HTTP/1.1
- > Soup-Debug-Timestamp: 1638310108
- > Soup-Debug: SoupSession 1 (0x558d7f394100), SoupMessage 1 (0x558d7f3c08c0), SoupSocket 1 (0x558d7f592510)
- > Host: geohashing.site
- > Accept-Encoding: gzip, deflate
- > User-Agent: GeohasingWikiHelper/unreleased (https://github.com/v1993/geohashingwikihelper, not published yet, talk to vyo2003 in geohasing IRC about problems with it) libsoup-2.4
- > Accept-Language: en-us, en;q=0.9, en;q=0.8
- > Connection: Keep-Alive
- < HTTP/1.1 200 OK
- < Soup-Debug-Timestamp: 1638310108
- < Soup-Debug: SoupMessage 1 (0x558d7f3c08c0)
- < Date: Tue, 30 Nov 2021 22:08:28 GMT
- < Content-Type: application/json; charset=utf-8
- < Transfer-Encoding: chunked
- < Connection: keep-alive
- < X-Content-Type-Options: nosniff
- < Set-Cookie: geowiki_session=m9aqmi2daf0dl9mhaf7tq3nao67e6mg5; path=/; secure; HttpOnly
- < X-Frame-Options: DENY
- < Content-Disposition: inline; filename=api-result.json
- < Cache-Control: private, must-revalidate, max-age=0
- < X-XSS-Protection: 1; mode=block
- < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
- < Server: Aux3
- < Content-Encoding: gzip
- <
- < {"batchcomplete":"","query":{"tokens":{"logintoken":"86e8d57f35917755e0c1361eb3a67e8761a6a0dc+\\"}}}
- > GET /api.php?meta=tokens&action=query&format=json&type=csrf HTTP/1.1
- > Soup-Debug-Timestamp: 1638310108
- > Soup-Debug: SoupSession 1 (0x558d7f394100), SoupMessage 2 (0x558d7f3c0aa0), SoupSocket 1 (0x558d7f592510)
- > Host: geohashing.site
- > Accept-Encoding: gzip, deflate
- > User-Agent: GeohasingWikiHelper/unreleased (https://github.com/v1993/geohashingwikihelper, not published yet, talk to vyo2003 in geohasing IRC about problems with it) libsoup-2.4
- > Accept-Language: en-us, en;q=0.9, en;q=0.8
- > Connection: Keep-Alive
- > Cookie: geowiki_session=m9aqmi2daf0dl9mhaf7tq3nao67e6mg5
- < HTTP/1.1 200 OK
- < Soup-Debug-Timestamp: 1638310108
- < Soup-Debug: SoupMessage 2 (0x558d7f3c0aa0)
- < Date: Tue, 30 Nov 2021 22:08:28 GMT
- < Content-Type: application/json; charset=utf-8
- < Transfer-Encoding: chunked
- < Connection: keep-alive
- < X-Content-Type-Options: nosniff
- < X-Frame-Options: DENY
- < Content-Disposition: inline; filename=api-result.json
- < Cache-Control: private, must-revalidate, max-age=0
- < X-XSS-Protection: 1; mode=block
- < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
- < Server: Aux3
- < Content-Encoding: gzip
- <
- < {"batchcomplete":"","query":{"tokens":{"csrftoken":"+\\"}}}
- > POST /api.php?action=clientlogin&format=json&token=%2B%5C HTTP/1.1
- > Soup-Debug-Timestamp: 1638310108
- > Soup-Debug: SoupSession 1 (0x558d7f394100), SoupMessage 3 (0x558d7f3c0d70), SoupSocket 2 (0x558d7f592780)
- > Host: geohashing.site
- > Content-Type: application/json
- > Accept-Encoding: gzip, deflate
- > User-Agent: GeohasingWikiHelper/unreleased (https://github.com/v1993/geohashingwikihelper, not published yet, talk to vyo2003 in geohasing IRC about problems with it) libsoup-2.4
- > Accept-Language: en-us, en;q=0.9, en;q=0.8
- > Connection: Keep-Alive
- > Cookie: geowiki_session=m9aqmi2daf0dl9mhaf7tq3nao67e6mg5
- >
- > {"logintoken":"86e8d57f35917755e0c1361eb3a67e8761a6a0dc+\\","username":"v1993","password":"like i would tell you"}
- < HTTP/1.1 200 OK
- < Soup-Debug-Timestamp: 1638310108
- < Soup-Debug: SoupMessage 3 (0x558d7f3c0d70)
- < Date: Tue, 30 Nov 2021 22:08:28 GMT
- < Content-Type: application/json; charset=utf-8
- < Transfer-Encoding: chunked
- < Connection: keep-alive
- < X-Content-Type-Options: nosniff
- < MediaWiki-API-Error: notoken
- < X-Frame-Options: DENY
- < Content-Disposition: inline; filename=api-result.json
- < Cache-Control: private, must-revalidate, max-age=0
- < X-XSS-Protection: 1; mode=block
- < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
- < Server: Aux3
- < Content-Encoding: gzip
- <
- < {"error":{"code":"notoken","info":"The \"token\" parameter must be set.","*":"See https://geohashing.site/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement