Skip to content

Instantly share code, notes, and snippets.

@paul-hammant
Last active August 19, 2020 13:11
Show Gist options
  • Save paul-hammant/904cd3a689ccb208bf3908ee916c453d to your computer and use it in GitHub Desktop.
Save paul-hammant/904cd3a689ccb208bf3908ee916c453d to your computer and use it in GitHub Desktop.

Interaction 0: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:28 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 842
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[{"uid":"9bb7230d-a4c8-495c-adff-4d964894181f","title":"blah","order":523,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/9bb7230d-a4c8-495c-adff-4d964894181f","url":"https://todo-backend-sinatra.herokuapp.com/todos/9bb7230d-a4c8-495c-adff-4d964894181f"},{"uid":"0e6f47a9-a89f-46a3-a3ae-d08efdbbc14f","title":"blah","order":95,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/0e6f47a9-a89f-46a3-a3ae-d08efdbbc14f","url":"https://todo-backend-sinatra.herokuapp.com/todos/0e6f47a9-a89f-46a3-a3ae-d08efdbbc14f"},{"uid":"307123af-5b4c-4354-ad73-d71984fcfe02","title":"blah","order":95,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/307123af-5b4c-4354-ad73-d71984fcfe02","url":"https://todo-backend-sinatra.herokuapp.com/todos/307123af-5b4c-4354-ad73-d71984fcfe02"}]

Interaction 1: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 18
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"a todo"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:28 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/6fe71e6f-2a85-4f9d-98ef-8bf8572791e4
content-length: 270
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"a todo","uid":"6fe71e6f-2a85-4f9d-98ef-8bf8572791e4","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/6fe71e6f-2a85-4f9d-98ef-8bf8572791e4","url":"https://todo-backend-sinatra.herokuapp.com/todos/6fe71e6f-2a85-4f9d-98ef-8bf8572791e4"}

Interaction 2: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:29 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 3: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:30 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 4: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:30 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 2
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[]

Interaction 5: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:30 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 6: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 24
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"walk the dog"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:31 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/f9d5cc73-ef39-4a06-96eb-82291209b94d
content-length: 276
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"walk the dog","uid":"f9d5cc73-ef39-4a06-96eb-82291209b94d","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/f9d5cc73-ef39-4a06-96eb-82291209b94d","url":"https://todo-backend-sinatra.herokuapp.com/todos/f9d5cc73-ef39-4a06-96eb-82291209b94d"}

Interaction 7: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:32 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 288
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[{"uid":"f9d5cc73-ef39-4a06-96eb-82291209b94d","title":"walk the dog","order":0,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/f9d5cc73-ef39-4a06-96eb-82291209b94d","url":"https://todo-backend-sinatra.herokuapp.com/todos/f9d5cc73-ef39-4a06-96eb-82291209b94d"}]

Interaction 8: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:32 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 9: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 16
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:32 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/a965f8be-28e3-428b-a512-d0a560789c31
content-length: 268
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"blah","uid":"a965f8be-28e3-428b-a512-d0a560789c31","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/a965f8be-28e3-428b-a512-d0a560789c31","url":"https://todo-backend-sinatra.herokuapp.com/todos/a965f8be-28e3-428b-a512-d0a560789c31"}

Interaction 10: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:33 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 280
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[{"uid":"a965f8be-28e3-428b-a512-d0a560789c31","title":"blah","order":0,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/a965f8be-28e3-428b-a512-d0a560789c31","url":"https://todo-backend-sinatra.herokuapp.com/todos/a965f8be-28e3-428b-a512-d0a560789c31"}]

Interaction 11: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:33 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 12: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 16
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:34 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/877b1370-5ab1-4102-815e-92a86b13a291
content-length: 268
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"blah","uid":"877b1370-5ab1-4102-815e-92a86b13a291","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/877b1370-5ab1-4102-815e-92a86b13a291","url":"https://todo-backend-sinatra.herokuapp.com/todos/877b1370-5ab1-4102-815e-92a86b13a291"}

Interaction 13: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:35 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 280
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[{"uid":"877b1370-5ab1-4102-815e-92a86b13a291","title":"blah","order":0,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/877b1370-5ab1-4102-815e-92a86b13a291","url":"https://todo-backend-sinatra.herokuapp.com/todos/877b1370-5ab1-4102-815e-92a86b13a291"}]

Interaction 14: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:35 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 15: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 19
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"my todo"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:35 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/7f0e9bce-04da-4bbf-83e8-ff89993f0e25
content-length: 271
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"my todo","uid":"7f0e9bce-04da-4bbf-83e8-ff89993f0e25","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/7f0e9bce-04da-4bbf-83e8-ff89993f0e25","url":"https://todo-backend-sinatra.herokuapp.com/todos/7f0e9bce-04da-4bbf-83e8-ff89993f0e25"}

Interaction 16: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:36 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 17: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 27
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"todo the second"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:37 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/22299f93-1a68-4519-ac85-41a35366db94
content-length: 278
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"todo the first","uid":"22299f93-1a68-4519-ac85-41a35366db94","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/22299f93-1a68-4519-ac85-41a35366db94","url":"https://todo-backend-sinatra.herokuapp.com/todos/22299f93-1a68-4519-ac85-41a35366db94"}

Interaction 18: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 27
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"todo the second"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:37 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/fbc6b337-cc1b-49ac-8803-4a83d17285c8
content-length: 279
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"todo the second","uid":"fbc6b337-cc1b-49ac-8803-4a83d17285c8","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/fbc6b337-cc1b-49ac-8803-4a83d17285c8","url":"https://todo-backend-sinatra.herokuapp.com/todos/fbc6b337-cc1b-49ac-8803-4a83d17285c8"}

Interaction 19: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:37 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 580
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[{"uid":"22299f93-1a68-4519-ac85-41a35366db94","title":"todo the first","order":0,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/22299f93-1a68-4519-ac85-41a35366db94","url":"https://todo-backend-sinatra.herokuapp.com/todos/22299f93-1a68-4519-ac85-41a35366db94"},{"uid":"fbc6b337-cc1b-49ac-8803-4a83d17285c8","title":"todo the second","order":0,"completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/fbc6b337-cc1b-49ac-8803-4a83d17285c8","url":"https://todo-backend-sinatra.herokuapp.com/todos/fbc6b337-cc1b-49ac-8803-4a83d17285c8"}]

Interaction 20: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:38 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 21: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 25
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"initial title"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:39 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/16d1c4b3-037b-4806-b52c-0976ff15faf0
content-length: 277
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"initial title","uid":"16d1c4b3-037b-4806-b52c-0976ff15faf0","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/16d1c4b3-037b-4806-b52c-0976ff15faf0","url":"https://todo-backend-sinatra.herokuapp.com/todos/16d1c4b3-037b-4806-b52c-0976ff15faf0"}

Interaction 22: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:40 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 23: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 16
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:41 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/27002e0f-01c6-4ceb-83b1-aed6438f4631
content-length: 268
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"blah","uid":"27002e0f-01c6-4ceb-83b1-aed6438f4631","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/27002e0f-01c6-4ceb-83b1-aed6438f4631","url":"https://todo-backend-sinatra.herokuapp.com/todos/27002e0f-01c6-4ceb-83b1-aed6438f4631"}

Interaction 24: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:41 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 25: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 16
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:41 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/cbb2482d-14f4-463a-8a56-2367c2a61a9a
content-length: 268
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"blah","uid":"cbb2482d-14f4-463a-8a56-2367c2a61a9a","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/cbb2482d-14f4-463a-8a56-2367c2a61a9a","url":"https://todo-backend-sinatra.herokuapp.com/todos/cbb2482d-14f4-463a-8a56-2367c2a61a9a"}

Interaction 26: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:42 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 288
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[{"uid":"cbb2482d-14f4-463a-8a56-2367c2a61a9a","title":"changed title","order":0,"completed":true,"href":"https://todo-backend-sinatra.herokuapp.com/todos/cbb2482d-14f4-463a-8a56-2367c2a61a9a","url":"https://todo-backend-sinatra.herokuapp.com/todos/cbb2482d-14f4-463a-8a56-2367c2a61a9a"}]

Interaction 27: DELETE /todos

Request headers recorded for playback:

content-length: 0
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:43 GMT
content-length: 0
connection: close
access-control-allow-origin: *
x-content-type-options: nosniff
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (204: ):


Interaction 28: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 16
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:43 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/788897d9-e4f4-4223-8c60-4d2d3fa5c9cd
content-length: 268
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"blah","uid":"788897d9-e4f4-4223-8c60-4d2d3fa5c9cd","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/788897d9-e4f4-4223-8c60-4d2d3fa5c9cd","url":"https://todo-backend-sinatra.herokuapp.com/todos/788897d9-e4f4-4223-8c60-4d2d3fa5c9cd"}

Interaction 29: GET /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():


Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:44 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
content-length: 2
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (200: text/html;charset=utf-8):

[]

Interaction 30: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 28
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"title":"blah","order":523}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:44 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/8d3b04f7-0498-4304-b60d-7d66fba6949e
content-length: 280
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"title":"blah","order":523,"uid":"8d3b04f7-0498-4304-b60d-7d66fba6949e","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/8d3b04f7-0498-4304-b60d-7d66fba6949e","url":"https://todo-backend-sinatra.herokuapp.com/todos/8d3b04f7-0498-4304-b60d-7d66fba6949e"}

Interaction 31: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 27
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"order":10,"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:45 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/1d8a6a02-cd0c-42d8-a628-e74af76da4ac
content-length: 279
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"order":10,"title":"blah","uid":"1d8a6a02-cd0c-42d8-a628-e74af76da4ac","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/1d8a6a02-cd0c-42d8-a628-e74af76da4ac","url":"https://todo-backend-sinatra.herokuapp.com/todos/1d8a6a02-cd0c-42d8-a628-e74af76da4ac"}

Interaction 32: POST /todos

Request headers recorded for playback:

accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
origin: https://www.todobackend.com
content-type: application/json
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
accept: text/plain, */*; q=0.01
content-length: 27
connection: close
host: todo-backend-sinatra.herokuapp.com

Request body recorded for playback ():

{"order":10,"title":"blah"}

Response headers recorded for playback:

date: Wed, 19 Aug 2020 12:56:46 GMT
connection: close
content-type: text/html;charset=utf-8
access-control-allow-origin: *
location: https://todo-backend-sinatra.herokuapp.com/todos/35a9d78d-080a-448c-9aa3-ec926a2b799b
content-length: 279
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
server: thin 1.6.2 codename Doc Brown
via: 1.1 vegur

Response body recorded for playback (201: text/html;charset=utf-8):

{"order":10,"title":"blah","uid":"35a9d78d-080a-448c-9aa3-ec926a2b799b","completed":false,"href":"https://todo-backend-sinatra.herokuapp.com/todos/35a9d78d-080a-448c-9aa3-ec926a2b799b","url":"https://todo-backend-sinatra.herokuapp.com/todos/35a9d78d-080a-448c-9aa3-ec926a2b799b"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment