diff --git a/scripts/install_app.sh b/scripts/install_app.sh index 7c2d42e6..57bf1a22 100644 --- a/scripts/install_app.sh +++ b/scripts/install_app.sh @@ -145,15 +145,13 @@ request_param=$(jq -n \ "settings": $settings }') -echo "####################################################" echo $request_param response=$(curl -s -w "%{http_code}" -X POST "$api_url" \ -H "Content-Type: application/json" \ -H "x-api-key: $api_key" \ -d "$request_param") -echo "--------------------------------------------------" + echo "$response" -echo "---------------------------------------------------" http_code=$(echo "$response" | tail -n1) response_body=$(echo "$response" | head -n -1) @@ -163,4 +161,4 @@ else error_message=$(echo "$response_body" | jq -r '.message') error_details=$(echo "$response_body" | jq -r '.details') echo "Error: $error_message, Details: $error_details" -fi \ No newline at end of file +fi \ No newline at end of file