Answer the question
In order to leave comments, you need to log in
Cross-domain Ajax on jQuery through PHP proxy?
1) There is a RESTful web service that needs to be called via ajax on the client side. Is there a ready-made PHP script to specify the url in the "url" parameter in JQuery and pass it to the PHP script so that it correctly handles all possible transfer methods: GET, POST, PUT, DELETE? I am looking for ready and tested, so as not to write a bike.
2) Is it possible to directly and completely (not only GET) use the REST service on the client side, given that I have access to edit web service files? What if he's a stranger?
Answer the question
In order to leave comments, you need to log in
Thanks everyone, I found a ready-made proxy script benalman.com/projects/php-simple-proxy/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question