maciey_b Posted April 12, 2018 Share Posted April 12, 2018 I'm developing module for PrestaShop, I've got my own views made in Vue.js (register, login, settings etc. pages) and I need custom endpoints in my module to comunicate with my views. Using module controllers requires using url's like: example.com/admin/index.php?controller=ModuleName&action=doSomething - doesn't it? While I need something like this (get/post): example.com/admin/modulename/create example.com/admin/modulename/login example.com/admin/modulename/settings etc... In the attached file you can see login page, where clicking on "zaloguj" send post request to {url}/login - any ideas how can I implement it in prestashop? I couldn't find any solution to this problem, in official documentation there is nothing about it (or did I miss it?) Link to comment Share on other sites More sharing options...
idnovate.com Posted March 31, 2023 Share Posted March 31, 2023 Check these links: https://devdocs.prestashop-project.org/1.7/webservice/ https://github.com/binshops/prestashop-rest 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