---
recorded_with: VCR 2.4.0
http_interactions:
- request:
method: post
uri: https://admin-dev.mailroute.net/api/v1/admins/reseller//
body:
string: "{\"name\":\"NE Ohio Web Services\",\"send_welcome\":false}"
headers:
Accept:
- "*/*"
Accept-Encoding:
- identity
Content-Type:
- application/json
Authorization:
- ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
User-Agent:
- Ruby
response:
status:
code: 404
message: NOT FOUND
headers:
Server:
- nginx/1.2.6
Connection:
- keep-alive
Vary:
- Accept-Encoding
- Cookie
Content-Type:
- text/html; charset=utf-8
Date:
- Wed, 13 Mar 2013 17:05:50 GMT
Transfer-Encoding:
- chunked
body:
string: |
Page not found at /api/v1/admins/reseller//
\
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
http_version:
recorded_at: Wed, 13 Mar 2013 17:05:52 GMT
- request:
method: get
uri: https://admin-dev.mailroute.net/api/v1/reseller/4/
body:
string: ""
headers:
Accept:
- application/json
Accept-Encoding:
- identity
Authorization:
- ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Server:
- nginx/1.2.6
Connection:
- keep-alive
Vary:
- Accept, Cookie
- Accept-Encoding
Cache-Control:
- no-cache
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 13 Mar 2013 17:47:22 GMT
Transfer-Encoding:
- chunked
body:
string: "{\"absolute_url\": \"/reseller/4/\", \"allow_branding\": false, \"allow_customer_branding\": false, \"branding_info\": \"/api/v1/brandinginfo/52/\", \"created_at\": \"Thu, 7 Jun 2012 08:24:36 -0700\", \"id\": 4, \"name\": \"NE Ohio Web Services\", \"resource_uri\": \"/api/v1/reseller/4/\", \"updated_at\": \"Tue, 12 Mar 2013 20:21:14 -0700\"}"
http_version:
recorded_at: Wed, 13 Mar 2013 17:47:22 GMT
- request:
method: post
uri: https://admin-dev.mailroute.net/api/v1/admins/reseller/4/
body:
string: "{\"email\":\"admin@example.com\",\"send_welcome\":false}"
headers:
Accept:
- "*/*"
Accept-Encoding:
- identity
Content-Type:
- application/json
Authorization:
- ApiKey blablablablabla@example.com:5f64xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx8262
User-Agent:
- Ruby
response:
status:
code: 201
message: CREATED
headers:
Server:
- nginx/1.2.6
Connection:
- keep-alive
Vary:
- Accept, Cookie
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 13 Mar 2013 17:47:23 GMT
Location:
- https://admin-dev.mailroute.net/api/v1/admins/reseller/4/admin/43692/
Transfer-Encoding:
- chunked
body:
string: "{\"customer\": null, \"date_joined\": \"Wed, 13 Mar 2013 10:47:23 -0700\", \"email\": \"admin@example.com\", \"id\": 43692, \"is_active\": true, \"last_login\": \"Wed, 13 Mar 2013 10:47:23 -0700\", \"reseller\": null, \"resource_uri\": \"/api/v1/admins/reseller/4/admin/43692/\", \"send_welcome\": null, \"username\": \"admin@example.com\"}"
http_version:
recorded_at: Wed, 13 Mar 2013 17:47:23 GMT