Bagisto Forum

    Bagisto

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

    REST APi connection ERROR 404

    General Discussion
    4
    25
    1217
    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.
    • J
      jamme last edited by

      im having problem accessingg this:
      code to insert: http://localhost/your_bagisto/public/api/shop/documentation

      error:
      404
      NOT FOUND

      code in env:

      APP_URL=http://127.0.0.1:8000
      SANCTUM_STATEFUL_DOMAINS=http://localhost/public

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

        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.
        Selection_363.png

        So according to this, the URL will be like this as given below.

        http://localhost/Bagisto/public/api/shop/documentation

        Thanks & Regards!

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

          @Rishabh-Webkul c2b6c8a3-bb2f-42a3-b6f8-c1f5437688b3-image.png

          result:
          d7de7ca7-b318-4bc9-aafa-607925db3b35-image.png

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

            @Rishabh-Webkul
            i have followed all steps here:
            https://bagisto.com/en/bagisto-api/

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

              @Rishabh-Webkul
              1d03a958-de0d-4981-bcf4-6c9e3e502c7b-image.png

              is there supposed to be an api folder in public folder?

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

                @jamme

                Kindly please add this according to your domain and your Bagisto folder name.

                So if you are using this by your IP address

                http://127.0.0.1:8000

                Then the URL will be according to this only.

                http://127.0.0.1:8000/Your_Bagisto_Folder_Name/public

                Thanks & Regards!

                J ashish2409 3 Replies Last reply Reply Quote 0
                • J
                  jamme @Rishabh-Webkul last edited by

                  @Rishabh-Webkul, thank you for replying, how is this:
                  62834e48-0bac-4fbf-95cb-d5987bb6abdb-image.png

                  im sorry this, i hope you may bare with me on this

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

                    @jamme

                    Please follow the below screenshot for the reference, this will help you to understand the issue fixing.

                    API.png

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

                      @Rishabh-Webkul 44669280-0f18-4a74-a395-76b654be5499-image.png

                      it worked but leading me to my landing page:
                      52865bad-c32a-458e-afd8-923f2141d353-image.png

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

                        @ashish2409 it only redirects to the landing page

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

                          @Rishabh-Webkul dbefb2ae-b057-4425-a523-410d1fe4dfe6-image.png f9fff780-d80c-482a-ae3c-0919a3d4634b-image.png

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

                            This post is deleted!
                            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!

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

                                @Rishabh-Webkul it jjust goes back tothe landing page:(but loads slowly)
                                92583808-9bd3-4f11-aa11-31463c9a00bd-image.png

                                env.:
                                768d66d9-ee4a-49ea-8d06-15959adbdcee-image.png

                                1 Reply Last reply Reply Quote 0
                                • 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
                                            • First post
                                              Last post