hachem_bhl Posted September 6, 2016 Share Posted September 6, 2016 Bonjour j'essaye de me connecté a mon boutique en utilisant webservice et ajax, j'ai trouvé qu'un tutoriel de prestashop pour php j'ai essayé tout seul avec ce code mais ça marchera pas, il me retourne 0 error <script> $(document).ready(function(){ $.ajax({ type:"GET", url: "http://monboutique.domaine/api/products/6", datatype:"jsonp", jsonp: "callback", data:{ ws_key:"XXXXXXXXXXXXXXXXXXXXXXXXXXX", }, success: function( response ) { console.log( response ); // server response }, error: function(xhr) { alert("An error occured: " + xhr.status + " " + xhr.statusText); } }); }); </script> pouvez vous m'aidez merci Link to comment Share on other sites More sharing options...
hachem_bhl Posted September 24, 2016 Author Share Posted September 24, 2016 quelqu'un peut m'aidez ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now