Anyone ever get Jquery uploads to work with their HTML form? I'm using PHP SDK along with this, sending it as FormData. The problem is I keep getting a errors. If I just send the form they supply, signed by PHP api it works fine. When I try to incorporate jquery with any dataType other than jsonp I get CORS error. With jsonp I get 403. Which is a credentials error.
I've set ths header on the top:
header('Access-Control-Allow-Origin: http://localhost');
Code (markup):
My jquery is like...
Google Cloud Storage WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 103 تاريخ : دوشنبه 7 فروردين 1402 ساعت: 20:36