--- 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/"f2964886eb9c7cd1f64e2739e98321e4" X-Request-Id: - 457cd5be-08c5-460f-9f75-a6ae65f8cf33 X-Runtime: - '0.017691' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"access_token":"24a5e62794ef61812b4ade1da0a3741a446a87c448cf8ffa267b6a95c97b6cea","token_type":"bearer","scope":"read write","created_at":1431390441}' http_version: recorded_at: Tue, 12 May 2015 00:27:21 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 24a5e62794ef61812b4ade1da0a3741a446a87c448cf8ffa267b6a95c97b6cea 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:27:21 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"2430efaf9cc9bc89900d4eaa04400807" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 44d442fe-ef13-4e08-bd07-d0d9947abd78 X-Runtime: - '0.062409' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"read":"8b23c3d2299a1fc6478e28b1f7024a4f14a7945c818b57864616f02149883065","write":"8fc97bc59e6bf2df9fb6612c74c63bf38292b5011f2266b5b78276aed7bd1b86"}' http_version: recorded_at: Tue, 12 May 2015 00:27:21 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/gradings body: encoding: UTF-8 string: ! '{"identifier":"8fc97bc59e6bf2df9fb6612c74c63bf38292b5011f2266b5b78276aed7bd1b86","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","grade":"0.0","grader":"openstax"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer 24a5e62794ef61812b4ade1da0a3741a446a87c448cf8ffa267b6a95c97b6cea 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:27:21 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"bfe8018341200e22df35c585e2a0ec5d" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - db32c35a-413c-4482-92f0-d4c2baa49173 X-Runtime: - '0.094311' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"identifier":"8fc97bc59e6bf2df9fb6612c74c63bf38292b5011f2266b5b78276aed7bd1b86","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-05-12T00:27:21.280Z","grader":"openstax","grade":"0.0"}' http_version: recorded_at: Tue, 12 May 2015 00:27:21 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/gradings body: encoding: UTF-8 string: ! '{"identifier":"8fc97bc59e6bf2df9fb6612c74c63bf38292b5011f2266b5b78276aed7bd1b86","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","grade":"1.0","grader":"tutor"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer 24a5e62794ef61812b4ade1da0a3741a446a87c448cf8ffa267b6a95c97b6cea 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:27:21 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"8a5afe915582c7458850da40c2f35e79" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 7f825b12-c4a7-4b6a-aea3-97db28fcee8a X-Runtime: - '0.086670' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"identifier":"8fc97bc59e6bf2df9fb6612c74c63bf38292b5011f2266b5b78276aed7bd1b86","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-05-12T00:27:21.372Z","grader":"tutor","grade":"1.0"}' http_version: recorded_at: Tue, 12 May 2015 00:27:21 GMT recorded_with: VCR 2.9.3