aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures/vcr_cassettes/tickets/create_ticket.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/vcr_cassettes/tickets/create_ticket.json')
-rw-r--r--test/fixtures/vcr_cassettes/tickets/create_ticket.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/fixtures/vcr_cassettes/tickets/create_ticket.json b/test/fixtures/vcr_cassettes/tickets/create_ticket.json
new file mode 100644
index 0000000..361a4e3
--- /dev/null
+++ b/test/fixtures/vcr_cassettes/tickets/create_ticket.json
@@ -0,0 +1,36 @@
+[
+ {
+ "request": {
+ "body": "{\"ticket\":{\"description\":\"My printer is on fire!\"}}",
+ "headers": {
+ "user-agent": "zendex",
+ "Authorization": "Basic VXNlcjE6cGFzcw=="
+ },
+ "method": "post",
+ "options": [],
+ "request_body": "",
+ "url": "https://test.zendesk.com/api/v2/tickets.json"
+ },
+ "response": {
+ "body": "{\"ticket\":{\"id\":1234,\"description\":\"My printer is on fire!\"}}",
+ "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"
+ }
+ }
+]