REST APi connection ERROR 404
-
im having problem accessingg this:
code to insert: http://localhost/your_bagisto/public/api/shop/documentationerror:
404
NOT FOUNDcode in env:
APP_URL=http://127.0.0.1:8000
SANCTUM_STATEFUL_DOMAINS=http://localhost/public -
Hello @jamme
Greetings of the day.!!
Don't just copy the URL add your Bagisto Folder after your IP address or localhost as shown in the below image.
So according to this, the URL will be like this as given below.
http://localhost/Bagisto/public/api/shop/documentation
Thanks & Regards!
-
result:
-
@Rishabh-Webkul
i have followed all steps here:
https://bagisto.com/en/bagisto-api/ -
is there supposed to be an api folder in public folder?
-
Kindly please add this according to your domain and your Bagisto folder name.
So if you are using this by your IP address
Then the URL will be according to this only.
http://127.0.0.1:8000/Your_Bagisto_Folder_Name/public
Thanks & Regards!
-
@Rishabh-Webkul, thank you for replying, how is this:
im sorry this, i hope you may bare with me on this
-
Please follow the below screenshot for the reference, this will help you to understand the issue fixing.
-
it worked but leading me to my landing page:
-
@ashish2409 it only redirects to the landing page
-
-
This post is deleted! -
Kindly go through this blog and follow each step this will help you to fix your issue.
https://bagisto.com/en/bagisto-api/
Thanks & Regards!
-
@Rishabh-Webkul it jjust goes back tothe landing page:(but loads slowly)
env.:
-
Kindly hit the below command again and then check it.
php artisan bagisto-rest-api:install
Thanks
-
@Rishabh-Webkul i made progress:
hahaha -
@Rishabh-Webkul a new error, but this ,means i getting there right? i can feel it
-
Kindly go through this blog and follow each step this will help you to fix your issue.
https://bagisto.com/en/bagisto-api/
Thanks & Regards!
-
@Rishabh-Webkul do you already have a video for this?
-
We don't have a Video tutorial at the moment but we will look after it soon.
Thanks & Regards!!