--- 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/"e3d0e550ef1d47dc2d40b7d70e16eecf" X-Request-Id: - fa9d9559-e16e-4318-b447-c24b8cc531b1 X-Runtime: - '0.066830' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"access_token":"177f3b0e42f693caee3761c653a0060104dea5afcc9cbad292e64b563c6e5296","token_type":"bearer","scope":"read write","created_at":1430418522}' http_version: recorded_at: Thu, 30 Apr 2015 18:28:42 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 177f3b0e42f693caee3761c653a0060104dea5afcc9cbad292e64b563c6e5296 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: - Thu, 30 Apr 2015 18:28:42 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"6d084a5cad37e1c244bdb5c111ab968a" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 05ef7ac8-aa39-40f5-8a95-d769dfc28170 X-Runtime: - '0.169319' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"read":"9dc1b20bb40a6e3f40a33405a0089ffb6fdd3b34f338eda3595da8a0df88d512","write":"2a3c4952254d5cd231df4971af97f71337c714085d30237020dba34b073fa1fa"}' http_version: recorded_at: Thu, 30 Apr 2015 18:28:42 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/multiple_choices body: encoding: UTF-8 string: ! '{"identifier":"2a3c4952254d5cd231df4971af97f71337c714085d30237020dba34b073fa1fa","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 177f3b0e42f693caee3761c653a0060104dea5afcc9cbad292e64b563c6e5296 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: - Thu, 30 Apr 2015 18:28:43 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"af86414af7354a54579425ee3702b3ef" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 9cff5834-d1f1-4b2e-bf04-c8614e857f5f X-Runtime: - '0.274154' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"identifier":"2a3c4952254d5cd231df4971af97f71337c714085d30237020dba34b073fa1fa","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-04-30T18:28:43.123Z","answer_type":"multiple-choice","answer":"answer_string"}' http_version: recorded_at: Thu, 30 Apr 2015 18:28:43 GMT - request: method: post uri: http://localhost:3003/api/events/platforms/multiple_choices body: encoding: UTF-8 string: ! '{"identifier":"2a3c4952254d5cd231df4971af97f71337c714085d30237020dba34b073fa1fa","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","answer":"another_string"}' headers: User-Agent: - Faraday v0.9.1 Accept: - application/vnd.exchange.openstax.v1 Authorization: - Bearer 177f3b0e42f693caee3761c653a0060104dea5afcc9cbad292e64b563c6e5296 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: - Thu, 30 Apr 2015 18:28:43 GMT Content-Type: - application/json; charset=utf-8 Etag: - W/"7d5dc201a376c1a0764d6fa9252738af" Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - request_method=POST; path=/ X-Request-Id: - 42174994-50fc-46a3-a04b-302385f05e80 X-Runtime: - '0.075426' Connection: - close Server: - thin body: encoding: US-ASCII string: ! '{"identifier":"2a3c4952254d5cd231df4971af97f71337c714085d30237020dba34b073fa1fa","resource":"https://exercises-dev1.openstax.org/api/exercises/123@1","trial":"1","created_at":"2015-04-30T18:28:43.276Z","answer_type":"multiple-choice","answer":"another_string"}' http_version: recorded_at: Thu, 30 Apr 2015 18:28:43 GMT recorded_with: VCR 2.9.3