Hey guys,
I'm having some trouble devise a script which attempts a login to a billing portal (Freshbooks) using cURL. I've seen various examples of this online (http://www.trap17.com/index.php/automatic-login-curl%5Ft38162.html) however, none of these examples would with JavaScript.
The login page seems to be based on JavaScript and jquery. Can anyone point me to a helpful example? My objective is to submit via cURL login information to this page and receive a response if the login is correct or not.
Here is an example login page: https://trustxbeta.freshbooks.com/
Thanks