summaryrefslogtreecommitdiff
path: root/examples/api_post.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api_post.yaml')
-rw-r--r--examples/api_post.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/api_post.yaml b/examples/api_post.yaml
new file mode 100644
index 0000000..87c640d
--- /dev/null
+++ b/examples/api_post.yaml
@@ -0,0 +1,10 @@
+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
+