I need to use Javascript and AJAX to call Create a Contact - Web Method for the Ontraport CRM. It will be executed on Submit Button click
https://api.ontraport.com/doc/#create-a-contactCan you show me how the AJAX call would look? I have the required API keys...
Can you also show me what objects need to be created and how to pass those into the AJAX call?
I only see cURL and PHP mentioned in the doc in the above link, but I have to believe that AJAX and Javascript would do fine with this API. Right?
Thanks.