-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequests.yml
47 lines (42 loc) · 1.14 KB
/
requests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
- name: test_all_methods
host: jsonplaceholder.typicode.com
scheme: https
timeout: 10
port: 443
requests:
- name: get_resource
method: get
resource: /posts/1
- name: get_params
method: get
resource: /posts
params:
userId: 1
- name: post_request
method: post
resource: /posts
body:
title: Lorem ipsum
body: Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.
userId: 1
- name: put_request
method: put
resource: /posts/1
body:
id: 1
title: Lorem ipsum
body: Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.
userId: 1
- name: patch_request
method: patch
resource: /posts/1
body:
title: Dolar sit amet
- name: delete_request
method: delete
resource: /posts/1
body:
foo: for some reason jsonplaceholder returns a 500 if there's no body provided for a DELETE request
auth: !bearer
token: saoidhfjoiasdjhfw3980ufj029348jfiowejf89weaf