Im trying to get a coding project where you input the auth and endpoint into a program, which would run a webhook, in otherwords an ui that uses zoom's incoming webhook api to send things in private zoom channels
The goal here was to run something, but I ended up changing it to echoing it for testing purpouses. It matched up with the example curl that was given when using incoming webhooks example curl. For some reason when I remove the echo, its giving me an error:
URL using bad/illegal format or missing URL
curl: (3) URL using bad/illegal format or missing URL
curl: (6) Could not resolve host: [authkey]'
Not sure whats wrong. any ideas?
echo "enter endpoint"
read endpoint
echo "enter auth"
read auth
while
true
do
echo curl \'${endpoint}\' '-X POST -H' \''Authorization:' ${auth}\' -d \''Hello World!'\'
done