Is the a way to activate an HA script using REST API?

I have been using HTTP GET and Post to activate certain services. There is a non standard service that I was only able to figure to using HA script. However, I am having trouble using HTTP POST to with authorization header and it is coming back as 400: Bad Request.

Wondering if anybody has any advice if this is possible and what am I doing wrong?

It should be api/services/<domain>/<service> which converts go api/services/script/scriptname

Thanks @anon63427907 i finally figured it out last night that I also need to included in the body service:script.scriptname

Hope this helps others.