You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to laravel and bagisto and i would like to request your assistance on the following issue that i'm facing. I have installed bagisto in a docker container (it includes all the prerequisites) and it works as expected. However, i would like to have admin access via API in order to be able to manipulate customer profiles (add, update, remove e.t.c ) from another app. After consulting the documentation, i've stumbled upon the GraphQLAPI that bagisto offers. So, i've proceeded with the installation as instructed in bagisto/headless-ecommerce. Please find below my steps:
Then,
And finally,
Unfortunately, i'm unable to access the graphql API. Below you may find the errors that i'm receiving both in Postman and GraphQL Playground
Could you kindly let me know if i'm missing any essential step during the process? Thank you very much for your time.
The text was updated successfully, but these errors were encountered:
Thank you very much for your time and the correction that you've pointed out. After trying to troubleshoot the issue, i noticed that the GraphQL route wasn't listed in the routes list of the project.
php artisan route:list
So, i executed the below commands and the issue was resolved:
php artisan config:cache
php artisan route:cache
Now i'm able to access the API from a python client. Maybe you could mention this additional step in the instructions in case anyone has a similar issue. Once again, thank you very much for you time.
Hello,
I'm new to laravel and bagisto and i would like to request your assistance on the following issue that i'm facing. I have installed bagisto in a docker container (it includes all the prerequisites) and it works as expected. However, i would like to have admin access via API in order to be able to manipulate customer profiles (add, update, remove e.t.c ) from another app. After consulting the documentation, i've stumbled upon the GraphQLAPI that bagisto offers. So, i've proceeded with the installation as instructed in bagisto/headless-ecommerce. Please find below my steps:
Then,
And finally,
Unfortunately, i'm unable to access the graphql API. Below you may find the errors that i'm receiving both in Postman and GraphQL Playground
Could you kindly let me know if i'm missing any essential step during the process? Thank you very much for your time.
The text was updated successfully, but these errors were encountered: