--- http_interactions: - request: method: post uri: https://oauth.secure.pixiv.net/auth/token body: encoding: US-ASCII string: username=SENSITIVE&password=SENSITIVE&grant_type=password&client_id=bYGKuGVw91e0NMfPGp44euvGt59s&client_secret=HP3RmkgAmEGro0gn1x9ioawQE8WMfvLXDz3ZqxpK headers: Referer: - http://www.pixiv.net Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Sat, 28 May 2016 19:45:43 GMT Content-Type: - application/json Content-Length: - '343' Connection: - keep-alive Set-Cookie: - PHPSESSID=696859_855b6b9fed082a239985ede0345ae847; expires=Sat, 28-May-2016 20:45:43 GMT; Max-Age=3600; path=/; domain=.pixiv.net; secure Expires: - Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: - no-cache X-Content-Type-Options: - nosniff Vary: - Accept-Encoding body: encoding: UTF-8 string: '{"response":{"access_token":"AVn4tY4dcs13udy2w5Ln0rRbGUW208pNVQLGxWj-Wag","expires_in":3600,"token_type":"bearer","scope":"unlimited","refresh_token":"fRQTzGnMLtxtWZCnzvTy9xpPOR6r4eZPt2_9b1NY8Pg","user":{"profile_image_urls":{"px_16x16":"http:\/\/source.pixiv.net\/common\/images\/no_profile_ss.png","px_50x50":"http:\/\/source.pixiv.net\/common\/images\/no_profile_s.png","px_170x170":"http:\/\/source.pixiv.net\/common\/images\/no_profile.png"},"id":"696859","name":"SENSITIVE","account":"SENSITIVE","is_premium":false,"x_restrict":2,"is_mail_authorized":true}}}' http_version: recorded_at: Sat, 28 May 2016 19:45:43 GMT - request: method: get uri: https://public-api.secure.pixiv.net/v1/works/32049358.json?image_sizes=large&include_stats=true body: encoding: US-ASCII string: '' headers: Referer: - http://www.pixiv.net User-Agent: - Danbooru/2.102.0 Content-Type: - application/x-www-form-urlencoded Authorization: - Bearer AVn4tY4dcs13udy2w5Ln0rRbGUW208pNVQLGxWj-Wag Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Sat, 28 May 2016 19:45:44 GMT Content-Type: - application/json Content-Length: - '175' Connection: - keep-alive X-Content-Type-Options: - nosniff Vary: - Accept-Encoding body: encoding: ASCII-8BIT string: !binary |- eyJzdGF0dXMiOiJmYWlsdXJlIiwiaGFzX2Vycm9yIjp0cnVlLCJlcnJvcnMi Onsic3lzdGVtIjp7Im1lc3NhZ2UiOiLlr77osaHjga7jgqTjg6njgrnjg4jj ga/opovjgaTjgYvjgorjgb7jgZvjgpPjgafjgZfjgZ/jgIIoaWxsdXN0X2lk OjMyMDQ5MzU4KSIsImNvZGUiOjIwNn19fQ== http_version: recorded_at: Sat, 28 May 2016 19:45:44 GMT recorded_with: VCR 2.9.3