Skip to content Skip to sidebar Skip to footer

How To Post To Other Domain And Get Result Html In Javascript

Browser must send POST request and receive result html page from javascript. There is no Access-Control-Allow-Origin in server response. It is not possible to change anything is se

Solution 1:

Unless you own the domain you are posting to, you won't be able to post to a different domain from the one that originated the request.


Solution 2:

You could use AJAX and run a curl post on the PHP script side


Post a Comment for "How To Post To Other Domain And Get Result Html In Javascript"