--- http_interactions: - request: method: post uri: http://123:abc@localhost:3003/oauth/token body: encoding: US-ASCII string: grant_type=client_credentials headers: User-Agent: - Faraday v0.9.1 Content-Type: - application/x-www-form-urlencoded Accept: - ! '*/*' response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Cache-Control: - no-store Pragma: - no-cache Content-Type: - application/json; charset=utf-8 Etag: - W/"a9b87e5f1e32f2a38c9a0462d18947ea" X-Request-Id: - 9d816e5f-00cf-4178-a63f-7b7aee1df705 X-Runtime: - '0.017724' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"access_token":"29e016f1157cbe6b55950212a53c83b1d1f2505ac5261bc66e9b4065168b1111","token_type":"bearer","scope":"read write","created_at":1431390181}' http_version: recorded_at: Tue, 12 May 2015 00:23:01 GMT - request: method: post uri: http://localhost:3003/api/identifiers body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Content-Type: - application/json Authorization: - Bearer 29e016f1157cbe6b55950212a53c83b1d1f2505ac5261bc66e9b4065168b1111 Content-Length: - '0' response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Date: - Tue, 12 May 2015 00:23:01 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"974110bdcecd25409b45a67f3b985762" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 5abacc83-fb13-420f-af29-c13d36f4efc2 X-Runtime: - '0.060132' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"read":"3604f61daf0fca2cc50b0dd4417b919ca8c5f2956563eb3d05599b610281ae3f","write":"9b390d51a9d1d63e5e1621bc9c7841acd846a174a06d76252f7d549122c6873b"}' http_version: recorded_at: Tue, 12 May 2015 00:23:01 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/gradings body: encoding: UTF-8 string: ! '{"identifier":"9b390d51a9d1d63e5e1621bc9c7841acd846a174a06d76252f7d549122c6873b","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","grade":"1.0","grader":"openstax"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer 29e016f1157cbe6b55950212a53c83b1d1f2505ac5261bc66e9b4065168b1111 Content-Type: - application/json response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Date: - Tue, 12 May 2015 00:23:01 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"bdd550afd50a623ed2b8b11c92eea286" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - edd5f625-c6ba-4382-bc3b-d1b34bcc6dd6 X-Runtime: - '0.094895' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"identifier":"9b390d51a9d1d63e5e1621bc9c7841acd846a174a06d76252f7d549122c6873b","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-05-12T00:23:01.156Z","grader":"openstax","grade":"1.0"}' http_version: recorded_at: Tue, 12 May 2015 00:23:01 GMT recorded_with: VCR 2.9.3