--- 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 Etag: - W/"120917583ae3f64355d682b690f7cb40" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 4eae4a97-dd60-436a-88f1-6edd44c7f699 X-Runtime: - '0.017439' Content-Length: - '32' body: encoding: UTF-8 string: '{"token":"E2aoXzMxkFsLnCcmCcc_"}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:02 GMT - request: method: get uri: http://localhost:3000/locomotive/sample/api/v3/snippets.json?auth_token=E2aoXzMxkFsLnCcmCcc_ body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ X-Locomotive-Locale: - '' 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 Etag: - W/"d751713988987e9331980363e24189ce" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 3e37c92f-728f-4f73-95cd-ed3741b8cbf3 X-Runtime: - '0.025702' Content-Length: - '2' body: encoding: UTF-8 string: "[]" http_version: recorded_at: Sat, 21 Nov 2015 22:31:02 GMT - request: method: post uri: http://localhost:3000/locomotive/sample/api/v3/snippets.json body: encoding: UTF-8 string: auth_token=E2aoXzMxkFsLnCcmCcc_&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: - E2aoXzMxkFsLnCcmCcc_ 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 Etag: - W/"6fd1f8f58519ef71254fe50d4d56924f" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 10a0da9c-44aa-49fc-8362-f77567158951 X-Runtime: - '0.037070' Content-Length: - '169' body: encoding: UTF-8 string: '{"_id":"5650f0a687f6436cbc000033","created_at":"2015-11-21T22:31:02Z","updated_at":"2015-11-21T22:31:02Z","name":"Footer","slug":"footer","template":"Locomotive rocks!"}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:02 GMT - request: method: put uri: http://localhost:3000/locomotive/sample/api/v3/snippets/5650f0a687f6436cbc000033.json body: encoding: UTF-8 string: auth_token=E2aoXzMxkFsLnCcmCcc_&snippet%5Btemplate%5D=Locomotive+rocks.+period headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ 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 Etag: - W/"325fba36719f0a2bff11a2e9ee5e33f4" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - b9308197-8d1a-41b4-a922-073787811d07 X-Runtime: - '0.034344' Content-Length: - '176' body: encoding: UTF-8 string: '{"_id":"5650f0a687f6436cbc000033","created_at":"2015-11-21T22:31:02Z","updated_at":"2015-11-21T22:31:02Z","name":"Footer","slug":"footer","template":"Locomotive rocks. period"}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:02 GMT - request: method: delete uri: http://localhost:3000/locomotive/sample/api/v3/snippets/5650f0a687f6436cbc000033.json?auth_token=E2aoXzMxkFsLnCcmCcc_ body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - E2aoXzMxkFsLnCcmCcc_ 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 Etag: - W/"325fba36719f0a2bff11a2e9ee5e33f4" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 357b0f60-db70-4d47-a92c-3442d9d563da X-Runtime: - '0.042417' Content-Length: - '176' body: encoding: UTF-8 string: '{"_id":"5650f0a687f6436cbc000033","created_at":"2015-11-21T22:31:02Z","updated_at":"2015-11-21T22:31:02Z","name":"Footer","slug":"footer","template":"Locomotive rocks. period"}' http_version: recorded_at: Sat, 21 Nov 2015 22:31:02 GMT recorded_with: VCR 2.9.3