--- http_interactions: - request: method: post uri: https://api.contentful.com/spaces/n6spjc167pc2/locales body: encoding: UTF-8 string: '{"name":"testLocalCreate","code":"bg"}' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Host: - api.contentful.com response: status: code: 201 message: Created headers: Server: - nginx Date: - Mon, 14 Jul 2014 07:50:40 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '701' Connection: - keep-alive Status: - 201 Created X-Contentful-Request-Id: - 85f-1209864457 Location: - https://api.contentful.com/spaces/n6spjc167pc2/locales/3Gg9sXSSADt1aXzdDt4MD4 Etag: - '"4449fa1febea2acf910f6b29e6ea1e4e"' Accept-Ranges: - bytes Cache-Control: - max-age=0 Access-Control-Allow-Origin: - "*" Access-Control-Allow-Headers: - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS "^access-Control-Expose-Headers": - Etag Access-Control-Max-Age: - '1728000' body: encoding: UTF-8 string: | { "sys":{ "type":"Locale", "id":"3Gg9sXSSADt1aXzdDt4MD4", "version":0, "space":{ "sys":{ "type":"Link", "linkType":"Space", "id":"n6spjc167pc2" } }, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "createdAt":"2014-07-14T07:50:39Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-07-14T07:50:39Z" }, "name":"testLocalCreate", "code":"bg", "default":false, "contentManagementApi":true, "publish":true, "contentDeliveryApi":true} http_version: recorded_at: Mon, 14 Jul 2014 07:50:40 GMT recorded_with: VCR 2.9.2