1👍
✅
You can’t send this request from frontend to this service. A lot of services block it.
You can create your backend sub service and send request to slack api.
So in result you have your own service with url mydomain.com/services/continuation/of/url, when you call it, your service will make call to https://hooks.slack.com/services/continuation/of/url and return slack response
Source:stackexchange.com