--- http_interactions: - request: method: post uri: http://123:abc@localhost:3003/oauth/token body: encoding: UTF-8 string: grant_type=client_credentials headers: User-Agent: - Faraday v0.9.1 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 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/"d043d549aeb46dddbe4f0922fdabcf9e" X-Request-Id: - b7b73c9c-39bb-4ce2-a92d-f0a62e5d763a X-Runtime: - '0.015010' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"access_token":"d665ee2b1a7ab3bfb7c53264baa4df38d87f7ad784f123ed2f0e29f600d94590","token_type":"bearer","scope":"read write","created_at":1430246609}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:29 GMT - request: method: post uri: http://localhost:3003/api/identifiers body: encoding: UTF-8 string: '' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Content-Type: - application/json Authorization: - Bearer d665ee2b1a7ab3bfb7c53264baa4df38d87f7ad784f123ed2f0e29f600d94590 Content-Length: - '0' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Date: - Tue, 28 Apr 2015 18:43:29 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"9b5c0073c87020ff48828e35d5efbc52" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 6f1d3434-034c-4dd7-99fa-69a4fab224ad X-Runtime: - '0.056371' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"read":"d6329c4c0f8117452b94e8311f129657703a5d57ef32410e79ab5d27bf13d9f0","write":"bf0dd7361e6dcf036207d544dd29870bac0905a305a477bd22c9fe42c56bb10d"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:29 GMT - request: method: post uri: http://localhost:3003/api/identifiers body: encoding: UTF-8 string: '' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Content-Type: - application/json Authorization: - Bearer d665ee2b1a7ab3bfb7c53264baa4df38d87f7ad784f123ed2f0e29f600d94590 Content-Length: - '0' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Date: - Tue, 28 Apr 2015 18:43:29 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"96523a59ab40a50cbceef7f17ee852b3" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 8c537ee9-0cf8-46e8-83a6-6313cf508c8d X-Runtime: - '0.055481' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"read":"b29d362fe3a8f45ed0b67e80af8a346065839dd5a4f08cb2ad84bedac306d87a","write":"91033f99a101434018fc0da47dda513f4e069f89ce4c6089cb1e2f48e94fd48d"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:29 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/multiple_choices body: encoding: UTF-8 string: '{"identifier":"bf0dd7361e6dcf036207d544dd29870bac0905a305a477bd22c9fe42c56bb10d","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","answer":"answer_string"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer d665ee2b1a7ab3bfb7c53264baa4df38d87f7ad784f123ed2f0e29f600d94590 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Date: - Tue, 28 Apr 2015 18:43:29 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"71dd5e5428dfc907bc81231b49303966" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 45a0bfe3-e4c0-4a33-a98f-288875568a51 X-Runtime: - '0.075970' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"identifier":"bf0dd7361e6dcf036207d544dd29870bac0905a305a477bd22c9fe42c56bb10d","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-04-28T18:43:29.691Z","answer_type":"multiple-choice","answer":"answer_string"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:29 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/multiple_choices body: encoding: UTF-8 string: '{"identifier":"91033f99a101434018fc0da47dda513f4e069f89ce4c6089cb1e2f48e94fd48d","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","answer":"answer_string"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer d665ee2b1a7ab3bfb7c53264baa4df38d87f7ad784f123ed2f0e29f600d94590 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Date: - Tue, 28 Apr 2015 18:43:29 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"ff1c0818d9b0f56ade29d6305e5a1b36" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 3e90bde5-96c5-469b-9e42-67ceed49d971 X-Runtime: - '0.086102' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"identifier":"91033f99a101434018fc0da47dda513f4e069f89ce4c6089cb1e2f48e94fd48d","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-04-28T18:43:29.781Z","answer_type":"multiple-choice","answer":"answer_string"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:29 GMT recorded_with: VCR 2.9.3