Hi,
I am trying to upload csv file to update in MOnday using API and Curl. however I am getting html page in return and no output. can someone help me out what issue in below bash script
API_ENDPOINT=“https://api.monday.com/v2/file”
response=$(curl --location --request POST “$API_ENDPOINT”
–header “Authorization: $API_KEY”
–form “query=mutation ($file: File!) {
add_file_to_update (file: $file, update_id: $ITEM_ID) {id}
}”
–form “variables[file]=@/home/jayant/$FILE_PATH”)
echo “$response”
<!doctypehtml>@font-face{font-family:Roboto;font-s…