Jump to content

axios prestashop web services


fancy|modules

Recommended Posts

  • 7 months later...

that works for me :


     axios.get('http://[email protected]/api/orders&display=full&output_format=JSON')
        .then(response => {
          // handle success
          this.orders = response.data
          console.log(response);
        })
        .catch(error => {
          // handle error
          console.log(error);
        });

i hope i can help someone .

Good luck

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...