Using curl command to send notification to zoom channel via webhook url and secret token

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2025-01-16 05:45 AM
Hi,
Not sure if this is the right place for posting this query, if not then please guide whom should I approach?
I am trying to send notification messages to zoom channel using curl command.
I got the webhook url and secret token from zoom+gitlab integration setup
curl -X POST -H "Content-Type: application/json1" \
-H "Authorization: Bearer TOKEN" \
--data '{
"text": "hello"
}' https://applications.zoom.us/addon/v1/gitlab/webhooks/eRJ2gJV9QSWymvXEKYn0FA?sig=<somealphanumericdata>&rnd=<somenumericdata>
But above command results in internal server error. Is the command correct?
Thanks in advance for any sort of guidance.
Topics:
- Topics:
-
Chat notification settings
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2025-01-16 05:46 AM
I have added content-type value as application/json to json1 cause it was not letting me post.
