How to send ajax request from localhost to live website. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to send ajax request from localhost to live website.

I want to send contact form-data ajax request from a static website to another php dynamic website. How can I achieve it.

16th Jun 2019, 7:16 AM
Satish Kumar Sharma
Satish Kumar Sharma - avatar
1 Answer
0
You should send ajax request to a file where you use curl to send the request on the live site and get response on the file and the response you can use in your ajax response.
12th Jul 2019, 7:32 AM
Muhammad Idrees
Muhammad Idrees - avatar