aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures/vcr_cassettes/users/create_user.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/vcr_cassettes/users/create_user.json')
-rw-r--r--test/fixtures/vcr_cassettes/users/create_user.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/fixtures/vcr_cassettes/users/create_user.json b/test/fixtures/vcr_cassettes/users/create_user.json
new file mode 100644
index 0000000..f5bc7da
--- /dev/null
+++ b/test/fixtures/vcr_cassettes/users/create_user.json
@@ -0,0 +1,36 @@
+[
+ {
+ "request": {
+ "body": "\"\\\"\\\"\"",
+ "headers": {
+ "user-agent": "zendex",
+ "Authorization": "Basic VXNlcjE6cGFzcw=="
+ },
+ "method": "post",
+ "options": [],
+ "request_body": "{\"user\":{\"name\":\"Roger\",\"email\":\"roger@dodger.com\"}}",
+ "url": "https://test.zendesk.com/api/v2/users.json"
+ },
+ "response": {
+ "body": "{\"user\":{\"name\":\"Roger\",\"id\":1234,\"email\":\"roger@dodger.com\"}}",
+ "headers": {
+ "Server": "nginx",
+ "Date": "Fri, 11 Nov 2016 22:02:31 GMT",
+ "Content-Type": "application/json; charset=UTF-8",
+ "Content-Length": "37",
+ "Connection": "keep-alive",
+ "Cache-Control": "private",
+ "WWW-Authenticate": "Basic realm=\"Web Password\"",
+ "Strict-Transport-Security": "max-age=31536000;",
+ "X-UA-Compatible": "IE=Edge,chrome=1",
+ "X-Zendesk-Origin-Server": "app20.pod3.dub1.zdsys.com",
+ "X-Request-Id": "55485721-bf68-44d1-c44b-b8ca3a6bdb18",
+ "X-Runtime": "0.097079",
+ "X-Rack-Cache": "miss",
+ "X-Zendesk-Request-Id": "0c2d369029535cc8a910"
+ },
+ "status_code": 201,
+ "type": "ok"
+ }
+ }
+]