i am using the curl to fetch the data from the url link and is working fine but the issue is that the response data uses the ajax call but all these ajax call are using my server domain but i need them to use the original path of the ajax call, where the files are located. E.g
/ajax/fetch.php
changes to http://original-domain.com/ajax/fetch.php
please tell me the appropriate solution for this problem.