Sha256: 5be5074cbbbb5484daa406509a07950193b38e930fac8c501ed46971b0f7f022
Contents?: true
Size: 1.73 KB
Versions: 5
Compression:
Stored size: 1.73 KB
Contents
--- http_interactions: - request: method: get uri: https://<USERNAME>:<PASSWORD>@oiapi.com/v1/advertisers/ body: encoding: US-ASCII string: '' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 200 message: OK headers: Date: - Fri, 24 Apr 2015 22:34:44 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, POST, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: "[]" http_version: recorded_at: Fri, 24 Apr 2015 22:35:47 GMT - request: method: post uri: https://<USERNAME>:<PASSWORD>@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser c6b6bd8c8d0effdd90ef31927a9bbff0","status_id":1,"category_id":1010}' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 201 message: CREATED headers: Date: - Fri, 24 Apr 2015 22:34:45 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, POST, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Create Successful", "message": "Advertiser successfully created", "id": 40338}' http_version: recorded_at: Fri, 24 Apr 2015 22:35:47 GMT recorded_with: VCR 2.9.3
Version data entries
5 entries across 5 versions & 1 rubygems