--- http_interactions: - request: method: post uri: http://localhost:3000/locomotive/api/v3/tokens.json body: encoding: UTF-8 string: email=admin%40locomotivecms.com&password=locomotive headers: Accept: - application/json Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json Content-Length: - '32' Etag: - W/"6ba0e226b40adfde2d656d9027a1335f" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 7a04c2fb-f959-42d2-977a-01b459734c6a X-Runtime: - '0.017824' Connection: - keep-alive Server: - thin body: encoding: UTF-8 string: '{"token":"Z9s7W_-BXyGQsDPFsorr"}' http_version: recorded_at: Mon, 04 May 2015 13:51:30 GMT - request: method: get uri: http://localhost:3000/locomotive/sample/api/v3/snippets.json body: encoding: UTF-8 string: auth_token=Z9s7W_-BXyGQsDPFsorr headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - Z9s7W_-BXyGQsDPFsorr Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Content-Length: - '2' Etag: - W/"d751713988987e9331980363e24189ce" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 1d60a784-b876-4c04-903c-c86f982e53b8 X-Runtime: - '0.021975' Connection: - keep-alive Server: - thin body: encoding: UTF-8 string: "[]" http_version: recorded_at: Mon, 04 May 2015 13:51:30 GMT - request: method: post uri: http://localhost:3000/locomotive/sample/api/v3/snippets.json body: encoding: UTF-8 string: auth_token=Z9s7W_-BXyGQsDPFsorr&snippet%5Bname%5D=Footer&snippet%5Bslug%5D=footer&snippet%5Btemplate%5D=Locomotive+rocks%21 headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - Z9s7W_-BXyGQsDPFsorr Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json Content-Length: - '169' Etag: - W/"79d6d859de866e0e55fe556f451b75d3" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 93194645-3be2-46f4-bc15-96796a6f06e4 X-Runtime: - '0.031877' Connection: - keep-alive Server: - thin body: encoding: UTF-8 string: '{"_id":"554779626469643251320300","created_at":"2015-05-04T13:51:30Z","updated_at":"2015-05-04T13:51:30Z","name":"Footer","slug":"footer","template":"Locomotive rocks!"}' http_version: recorded_at: Mon, 04 May 2015 13:51:30 GMT - request: method: put uri: http://localhost:3000/locomotive/sample/api/v3/snippets/554779626469643251320300.json body: encoding: UTF-8 string: auth_token=Z9s7W_-BXyGQsDPFsorr&snippet%5Btemplate%5D=Locomotive+rocks.+period headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - Z9s7W_-BXyGQsDPFsorr Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Content-Length: - '176' Etag: - W/"fd080808673a96a8580ff3c3bf28814c" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 3f2eb487-cb8f-481f-9cf4-71f6f8bd1c55 X-Runtime: - '0.030187' Connection: - keep-alive Server: - thin body: encoding: UTF-8 string: '{"_id":"554779626469643251320300","created_at":"2015-05-04T13:51:30Z","updated_at":"2015-05-04T13:51:30Z","name":"Footer","slug":"footer","template":"Locomotive rocks. period"}' http_version: recorded_at: Mon, 04 May 2015 13:51:30 GMT - request: method: delete uri: http://localhost:3000/locomotive/sample/api/v3/snippets/554779626469643251320300.json body: encoding: UTF-8 string: auth_token=Z9s7W_-BXyGQsDPFsorr headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - Z9s7W_-BXyGQsDPFsorr Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Content-Length: - '176' Etag: - W/"fd080808673a96a8580ff3c3bf28814c" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - b56ecde4-6ad7-4f0b-bda5-7e9d0e4547b6 X-Runtime: - '0.027051' Connection: - keep-alive Server: - thin body: encoding: UTF-8 string: '{"_id":"554779626469643251320300","created_at":"2015-05-04T13:51:30Z","updated_at":"2015-05-04T13:51:30Z","name":"Footer","slug":"footer","template":"Locomotive rocks. period"}' http_version: recorded_at: Mon, 04 May 2015 13:51:30 GMT recorded_with: VCR 2.9.3