From e30eb66848162a78be94666bf22fbd9cc31a31b1 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Thu, 15 Jul 2021 16:01:40 +0200 Subject: [PATCH] added datamap --- templates/da_cache_to_shub.json.j2 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/templates/da_cache_to_shub.json.j2 b/templates/da_cache_to_shub.json.j2 index aea95f8..d229924 100644 --- a/templates/da_cache_to_shub.json.j2 +++ b/templates/da_cache_to_shub.json.j2 @@ -15,8 +15,20 @@ "endpoint1" :{ "url" : "https://ent3szkgiak1.x.pipedream.net" }, + "datamap" : { + "place" : "params", + "name" : "file" + }, "endpoint2" :{ - "url" : "https://ent3szkgiak1.x.pipedream.net" + "url" : "https://ent3szkgiak1.x.pipedream.net", + "headers" : { + "Content-Type" : "multipart/form-data; boundary=------------------------ce5addc376b27099", + "Authorization" : "Bearer ${workflow.input.token}" + }, + "params" : { + "name" : "f1.json", + "description" : "Example file" + } } } }