I need to send request from my site to my server first with specific IP. and from my server again need to send request to cross server. And catch response on web page. How do I do this in php or java script? Thank you in advance.
Asked
Active
Viewed 35 times
-2
-
1possible duplicate of [How do I send a cross-domain POST request via JavaScript?](http://stackoverflow.com/questions/298745/how-do-i-send-a-cross-domain-post-request-via-javascript) – Ohgodwhy Aug 26 '15 at 07:36
-
Achieving this has been discussed in hundreds of threads previously. Please attempt to implement your own solution. If you have already, please show your code so that we can observe what may be going wrong. – Ohgodwhy Aug 26 '15 at 07:37
-
1You could look up curl in php. This can both send post and all desired request methods you want – Morten Aug 26 '15 at 08:03