Bagisto Forum

    Bagisto

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

    REST APi connection ERROR 404

    General Discussion
    4
    25
    1330
    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.
    • 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
                              • 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