File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ MESHERY_PATTERN_FILE=$(pattern_file=$(cat __intermediate_file.yml) node ./action
1313echo " Import design \n : Pattern_file_encoded: $MESHERY_PATTERN_FILE , SERVER_BASE_URL: $MESHERY_SERVER_BASE_URL " >> log.txt
1414
1515# Perform the curl request and store response in a variable
16- RESPONSE=$( curl " $MESHERY_SERVER_BASE_URL /api/pattern/import" \
16+ RESPONSE=$( curl -s " $MESHERY_SERVER_BASE_URL /api/pattern/import" \
1717 -H ' Accept: */*' \
1818 -H ' Connection: close' \
1919 -H ' Content-Type: application/json' \
2020 -H " Cookie: meshery-provider=Meshery; token=$MESHERY_TOKEN ;" \
2121 --request POST \
2222 --data " { \" name\" : \" autogenerated\" , \" file_name\" : \" manifest.yml\" , \" file\" :$MESHERY_PATTERN_FILE }" )
2323
24- echo $RESPONSE
24+
2525
2626# Append the response to log.txt
2727echo " Upload Response \n : $RESPONSE " >> log.txt
You can’t perform that action at this time.
0 commit comments