diff options
Diffstat (limited to 'examples/api_post-json.yaml')
| -rw-r--r-- | examples/api_post-json.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/api_post-json.yaml b/examples/api_post-json.yaml new file mode 100644 index 0000000..20710dd --- /dev/null +++ b/examples/api_post-json.yaml @@ -0,0 +1,8 @@ +- name: Crear usuario + module: api + args: + method: post + url: https://api.example.com/users + headers: Content-Type:application/json + body: '{"name":"Luis","role":"admin"}' + parse: json |
