Call external API

Question

I have a wordpress site which have a form and when is submitted I want to send the data to an external API. In order to access the external API and I need to pass a 2Oauth authorization. How I can achieve this without showing in the javascript the client_id & client_secret? I’m not restricted to use only javascript but I didn’t found a wordpress way to do that.

Thanks.

0
Matheu8741 4 months 0 Answers 53 views 0

Leave an answer