---
http_interactions:
- request:
method: post
uri: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/Categories
body:
encoding: UTF-8
string: '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
headers:
User-Agent:
- Ruby
Accept:
- "*/*; q=0.5, application/xml"
Authorization:
- Basic YWRtaW46cGFzc3dk
Content-Type:
- application/json
Accept-Encoding:
- gzip,deflate
response:
status:
code: 201
message: ''
headers:
Cache-Control:
- private
Content-Length:
- '1284'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)
Server:
- Microsoft-IIS/8.0
Set-Cookie:
- ASP.NET_SessionId=rrstbrdxgwqxymufp0szmoxd; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Sun, 26 Apr 2015 16:29:23 GMT
body:
encoding: UTF-8
string: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)2015-04-26T16:29:24Z1Auth
Test Category2015-04-26T16:29:24.161157Z2015-04-26T16:29:24.161157ZMachinist
http_version:
recorded_at: Sun, 26 Apr 2015 16:29:24 GMT
- request:
method: get
uri: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Ruby
Accept:
- "*/*; q=0.5, application/xml"
Authorization:
- Basic YWRtaW46cGFzc3dk
Accept-Encoding:
- gzip,deflate
response:
status:
code: 200
message: ''
headers:
Cache-Control:
- private
Content-Length:
- '4055'
Content-Type:
- application/xml;charset=utf-8
Server:
- Microsoft-IIS/8.0
Set-Cookie:
- ASP.NET_SessionId=qnhpawpxo5tu0hf3pgabfa4k; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Sun, 26 Apr 2015 16:29:24 GMT
body:
encoding: UTF-8
string:
http_version:
recorded_at: Sun, 26 Apr 2015 16:29:24 GMT
- request:
method: get
uri: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Ruby
Accept:
- "*/*; q=0.5, application/xml"
Accept-Encoding:
- gzip,deflate
response:
status:
code: 401
message: ''
headers:
Content-Type:
- text/html
Server:
- Microsoft-IIS/8.0
Www-Authenticate:
- Basic
X-Powered-By:
- ASP.NET
Date:
- Sun, 26 Apr 2015 16:29:24 GMT
Content-Length:
- '88'
body:
encoding: ASCII-8BIT
string: !binary |-
VHdvamUgdXByYXduaWVuaWEgbmllIHBvendhbGFqxIUgbmEgd3nFm3dpZXRs
YW5pZSB6YXdhcnRvxZtjaSB0ZWdvIGthdGFsb2d1IGFsYm8gc3Ryb255Lg==
http_version:
recorded_at: Sun, 26 Apr 2015 16:29:24 GMT
recorded_with: VCR 2.5.0