API access - How to get started for API
-
HI, I just installed Bagisto, I want to start API use but I an unable to understand what parameter need to pass of first request
http://localhost:8000/public/api/customer/login?
[email protected]&password=9822809268
http://localhost:8000/public/api/products
http://localhost:8000/public/api/categoriesAll are returning 404 in postman But I am successfully able to access Admin panel
http://localhost:8000/admin
please suggest me for API starting -
@chetan
Please follow this doc- https://devdocs.bagisto.com/ -
I read but didn't understood why it return 404
http://localhost:8000/public/api/products
can you please share sample request format -
How I can run webkul/ API folder API?
please help me -
Hey I got it,
Thanks for your support
It need to access by regular PHP port with project name like
http://localhost:81/bagisto/public/api/categories -
This post is deleted! -
@Jyoti i am using latest, version of API, and i want to make changes in API how i can do that. its located in vendor folder and i cant make changes there. what is the process of updating code for APIs ?
-
Hi there,
You can create your custom package and override the Routes on your package.OR
You can use the Bagisto API's as a package. for this first you need to remove API from composer.json file and then update the composer.