diff options
Diffstat (limited to 'examples/api.yaml')
| -rw-r--r-- | examples/api.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/api.yaml b/examples/api.yaml new file mode 100644 index 0000000..057dd22 --- /dev/null +++ b/examples/api.yaml @@ -0,0 +1,9 @@ +tasks: + - name: Crear producto de prueba + module: api + args: + method: post + url: https://fakestoreapi.com/products + body: '{"title":"Producto ShFlow","price":99.99,"description":"Generado desde módulo api.sh","image":"https://example.com/img.png","category":"electronics"}' + parse: json + |
