check.sh 149 Bytes
while IFS= read -r ID
do
    DATA=$(curl -d "id=$ID" -H "application/x-www-form-urlencoded" 192.168.15.75:5000/cons)
    echo $DATA
done < msg_id.txt