Skip to content

Commit 60614b8

Browse files
authored
Update uploadApplicationFile.sh
1 parent b7c0842 commit 60614b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uploadApplicationFile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ MESHERY_PATTERN_FILE=$(pattern_file=$(cat __intermediate_file.yml) node ./action
1313
echo "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
2727
echo "Upload Response \n : $RESPONSE" >> log.txt

0 commit comments

Comments
 (0)