File: echo-post-01.posting.yaml

package info (click to toggle)
posting 2.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,556 kB
  • sloc: python: 9,719; makefile: 15
file content (35 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
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
name: echo post
description: Echo server for post requests.
method: POST
url: https://postman-echo.com/post
body:
  content: |-
    {
      "string": "Hello, world!",
      "booleans": [true, false],
      "numbers": [1, 2, 42],
      "null": null
    }
  content_type: application/json
auth:
  type: basic
  basic:
    username: darren
headers:
- name: Content-Type
  value: application/json
- name: Accept
  value: '*'
- name: Cache-Control
  value: no-cache
- name: Accept-Encoding
  value: gzip
params:
- name: key1
  value: value1
- name: another-key
  value: another-value
- name: number
  value: '123'
options:
  timeout: 0.2