Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    REST APi connection ERROR 404

    General Discussion
    4
    25
    1592
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rishabh-Webkul
      Rishabh-Webkul last edited by

      @jamme

      Kindly hit the below command again and then check it.

      php artisan bagisto-rest-api:install

      Thanks

      J 1 Reply Last reply Reply Quote 0
      • J
        jamme @Rishabh-Webkul last edited by

        @Rishabh-Webkul i made progress:
        12a94706-ac98-462e-b79e-5fc118991e30-image.png
        hahaha

        J 1 Reply Last reply Reply Quote 0
        • J
          jamme @jamme last edited by

          @Rishabh-Webkul a new error, but this ,means i getting there right? i can feel it

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by

            @jamme

            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!

            J 1 Reply Last reply Reply Quote 0
            • J
              jamme @Rishabh-Webkul last edited by

              @Rishabh-Webkul do you already have a video for this?

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by

                @jamme

                We don't have a Video tutorial at the moment but we will look after it soon.

                Thanks & Regards!!

                J 1 Reply Last reply Reply Quote 0
                • J
                  jamme @Rishabh-Webkul last edited by

                  @Rishabh-Webkul
                  here is my ffile name:
                  57522146-c9a1-4bc8-9575-933972f7b4a1-image.png
                  env:
                  3f2ca97e-3f7e-4cbc-8d21-b022fe22bd44-image.png
                  result:
                  10a0b89c-ebdf-4fdd-99ff-8bbb900185cd-image.png
                  goes back to landing oage

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jamme @jamme last edited by

                    @Rishabh-Webkul is there any alternative to open the documentation

                    ashish2409 1 Reply Last reply Reply Quote 0
                    • ashish2409
                      ashish2409 @jamme last edited by ashish2409

                      @jamme

                      try using IP address and check, this will work.

                      http://192.16*../Demo/bagisto/public/api/shop/documentation

                      Please check the screenshot below.

                      IP.png

                      And also when adding IP, enter the IP in .env file as well and then run below command in root

                      php artisan optimize:clear

                      ashish2409 1 Reply Last reply Reply Quote 0
                      • ashish2409
                        ashish2409 @ashish2409 last edited by

                        @jamme

                        Another Option

                        if you are running php artisan serve and then with the local server which is appearing in your case
                        127.0.0.1:8001

                        Use this, it will work

                        For Shop

                        127.0.0.1:8001/api/shop/documentation

                        For Admin

                        127.0.0.1:8001/api/admin/documentation

                        1 Reply Last reply Reply Quote 0
                        • P
                          phuc.nguyen2 last edited by

                          For anyone looking for this error, in my case.
                          The url is : https://bagisto.test/api/shop/documentation
                          Not : https://bagisto.test/public/api/shop/documentation
                          oh my lore 😞

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post