Apologies for that. Please see my other comment for a bit more context and examples.
I think I'm missing where your product runs and who is running what and why they are running a curl command, and if I'd have to make changes in my application to support this.
A general conceptual diagram on your site would go a long way.