diff --git a/dependency/shell/compile.sh b/dependency/shell/compile.sh index 19ff658..194c03b 100644 --- a/dependency/shell/compile.sh +++ b/dependency/shell/compile.sh @@ -25,7 +25,7 @@ else fi if [ $flag -eq 1 ]; then - curl $URL -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"compiled"}' > $bind/curl_log.txt + curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"compiled"}' > $bind/curl_log.txt else - curl $URL -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"failed"}' > $bind/curl_log.txt + curl $URL -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{"compile_status":"failed"}' > $bind/curl_log.txt fi