---
http_interactions:
- request:
method: get
uri: http://services.odata.org/V4/OData/OData.svc/Products?$top=1
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Typhoeus - https://github.com/typhoeus/typhoeus
OData-Version:
- '4.0'
Accept:
- application/atom+xml
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '2179'
Content-Type:
- application/atom+xml;type=feed;charset=utf-8
Server:
- Microsoft-IIS/8.0
X-Content-Type-Options:
- nosniff
OData-Version:
- 4.0;
X-AspNet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Access-Control-Allow-Origin:
- "*"
Access-Control-Allow-Methods:
- GET
Access-Control-Allow-Headers:
- Accept, Origin, Content-Type, MaxDataServiceVersion
Access-Control-Expose-Headers:
- DataServiceVersion
Date:
- Wed, 29 Nov 2017 20:54:13 GMT
body:
encoding: UTF-8
string: http://services.odata.org/V4/OData/OData.svc/ProductsProducts2017-11-29T20:54:14Zhttp://services.odata.org/V4/OData/OData.svc/Products(0)2017-11-29T20:54:14Z0BreadWhole
grain bread1992-01-01T00:00:00Z42.5
http_version: '1.1'
adapter_metadata:
effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$top=1
recorded_at: Wed, 29 Nov 2017 20:54:14 GMT
- request:
method: get
uri: http://services.odata.org/V4/OData/OData.svc/$metadata
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Typhoeus - https://github.com/typhoeus/typhoeus
OData-Version:
- '4.0'
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '6742'
Content-Type:
- application/xml;charset=utf-8
Server:
- Microsoft-IIS/8.0
X-Content-Type-Options:
- nosniff
OData-Version:
- 4.0;
X-AspNet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Access-Control-Allow-Origin:
- "*"
Access-Control-Allow-Methods:
- GET
Access-Control-Allow-Headers:
- Accept, Origin, Content-Type, MaxDataServiceVersion
Access-Control-Expose-Headers:
- DataServiceVersion
Date:
- Wed, 29 Nov 2017 20:54:13 GMT
body:
encoding: UTF-8
string:
http_version: '1.1'
adapter_metadata:
effective_url: http://services.odata.org/V4/OData/OData.svc/$metadata
recorded_at: Wed, 29 Nov 2017 20:54:14 GMT
- request:
method: post
uri: http://services.odata.org/V4/OData/OData.svc/Products(0)
body:
encoding: UTF-8
string: |
headers:
User-Agent:
- Typhoeus - https://github.com/typhoeus/typhoeus
Accept:
- application/atom+xml
Content-Type:
- application/atom+xml
response:
status:
code: 405
message: Method Not Allowed
headers:
Cache-Control:
- private
Allow:
- GET, PUT, PATCH, DELETE
Content-Length:
- '325'
Content-Type:
- application/xml;charset=utf-8
Server:
- Microsoft-IIS/8.0
X-Content-Type-Options:
- nosniff
OData-Version:
- '4.0'
X-AspNet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Access-Control-Allow-Origin:
- "*"
Access-Control-Allow-Methods:
- GET
Access-Control-Allow-Headers:
- Accept, Origin, Content-Type, MaxDataServiceVersion
Access-Control-Expose-Headers:
- DataServiceVersion
Date:
- Wed, 29 Nov 2017 20:54:13 GMT
body:
encoding: UTF-8
string: The URI 'http://services.odata.org/V4/OData/OData.svc/Products(0)'
is not valid for POST operation. For POST operations, the URI must refer to
a service operation or an entity set.
http_version: '1.1'
adapter_metadata:
effective_url: http://services.odata.org/V4/OData/OData.svc/Products(0)
recorded_at: Wed, 29 Nov 2017 20:54:14 GMT
recorded_with: VCR 2.9.3