--- 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/"01a3dc6120131867d799eeb81ededd7c" X-Request-Id: - 50b8abb8-2581-4563-9fb3-b2c8aaaf110c X-Runtime: - '0.016761' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"access_token":"63f9dbd18dbdb22c5edf9c16a89754405d388e9185639d748590edac6e94b640","token_type":"bearer","scope":"read write","created_at":1430246610}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:30 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 63f9dbd18dbdb22c5edf9c16a89754405d388e9185639d748590edac6e94b640 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:30 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"4ce5b4a127b4a8b4217b22febac168e2" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - db6a9b5f-7fb9-46f4-adaf-f89eb9db4c20 X-Runtime: - '0.055572' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"read":"18252758189f85fb48d2a5536d5f09630a72e321dffa89223067aa02efc542ab","write":"697ed8df8b11bf5efe110c397c838b4f09ad88fb0997cff4ff512d8249d5f662"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:30 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/multiple_choices body: encoding: UTF-8 string: '{"identifier":"697ed8df8b11bf5efe110c397c838b4f09ad88fb0997cff4ff512d8249d5f662","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 63f9dbd18dbdb22c5edf9c16a89754405d388e9185639d748590edac6e94b640 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/"8a8ac413619079b24604116af205df89" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - bec18dd1-93e3-4d47-934b-81be11d63a92 X-Runtime: - '0.077400' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"identifier":"697ed8df8b11bf5efe110c397c838b4f09ad88fb0997cff4ff512d8249d5f662","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-04-28T18:43:30.206Z","answer_type":"multiple-choice","answer":"answer_string"}' http_version: recorded_at: Tue, 28 Apr 2015 18:43:30 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/multiple_choices body: encoding: UTF-8 string: '{"identifier":"697ed8df8b11bf5efe110c397c838b4f09ad88fb0997cff4ff512d8249d5f662","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"2","answer":"answer_string"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer 63f9dbd18dbdb22c5edf9c16a89754405d388e9185639d748590edac6e94b640 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/"c72abbf5393222af122d2d4811ff78da" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - b9796968-8924-47e3-bf69-52571db62d1e X-Runtime: - '0.088069' Connection: - close Server: - thin body: encoding: UTF-8 string: '{"identifier":"697ed8df8b11bf5efe110c397c838b4f09ad88fb0997cff4ff512d8249d5f662","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"2","created_at":"2015-04-28T18:43:30.298Z","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