--- 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/"2d4b390f46a7b4c332ececaa47ecfdce" X-Request-Id: - 4d9a35e1-9c09-42c1-b628-978c166e2556 X-Runtime: - '0.016162' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"access_token":"3778b1028b63a1f5195744388ba7d0ebb55b53c4f389af2756bdce7442d4df41","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 3778b1028b63a1f5195744388ba7d0ebb55b53c4f389af2756bdce7442d4df41 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/"567d02746e49ecbb30c1f909d4769f08" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - bc3b3439-78f1-4754-b123-8c66332d4d94 X-Runtime: - '0.056143' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"read":"aef74920d61d3d3abc91782053f0e576aedc828398b85d681e65302a24674f4e","write":"23b48be626b8687b403e279ffd8c71a3850449fd04d189f8a41db50012fd5b1b"}' 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":"23b48be626b8687b403e279ffd8c71a3850449fd04d189f8a41db50012fd5b1b","resource":"https://exercises-dev1.openstax.org/api/exercises/12@1","trial":"1","answer":"answer_string"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer 3778b1028b63a1f5195744388ba7d0ebb55b53c4f389af2756bdce7442d4df41 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/"387172353741f400933c15bd0a741c53" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 9c0556c9-9850-454d-bd89-ce4b6b9684da X-Runtime: - '0.075983' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"identifier":"23b48be626b8687b403e279ffd8c71a3850449fd04d189f8a41db50012fd5b1b","resource":"https://exercises-dev1.openstax.org/api/exercises/12@1","trial":"1","created_at":"2015-04-28T18:43:29.954Z","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":"23b48be626b8687b403e279ffd8c71a3850449fd04d189f8a41db50012fd5b1b","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 3778b1028b63a1f5195744388ba7d0ebb55b53c4f389af2756bdce7442d4df41 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:30 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"b09de18a2aadfd462ad21290f66b52a7" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 586b98e2-f871-4b4a-bd47-f7a2747c4f39 X-Runtime: - '0.076974' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"identifier":"23b48be626b8687b403e279ffd8c71a3850449fd04d189f8a41db50012fd5b1b","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-04-28T18:43:30.035Z","answer_type":"multiple-choice","answer":"answer_string"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:30 GMT recorded_with: VCR 2.9.3