• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

REST APi connection ERROR 404

General Discussion
4
25
14.7k
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 2 Feb 2024, 07:30

    @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 2 Feb 2024, 07:31

      @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 2 Feb 2024, 07:38

        @jamme

        Kindly hit the below command again and then check it.

        php artisan bagisto-rest-api:install

        Thanks

        J 1 Reply Last reply 2 Feb 2024, 07:39 Reply Quote 0
        • J
          jamme @Rishabh-Webkul last edited by 2 Feb 2024, 07:39

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

          J 1 Reply Last reply 2 Feb 2024, 07:40 Reply Quote 0
          • J
            jamme @jamme last edited by 2 Feb 2024, 07:40

            @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 2 Feb 2024, 07:59

              @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 2 Feb 2024, 08:17 Reply Quote 0
              • J
                jamme @Rishabh-Webkul last edited by 2 Feb 2024, 08:17

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

                1 Reply Last reply Reply Quote 0
                • Rishabh-Webkul
                  Rishabh-Webkul last edited by 2 Feb 2024, 08:22

                  @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 2 Feb 2024, 08:42 Reply Quote 0
                  • J
                    jamme @Rishabh-Webkul last edited by 2 Feb 2024, 08:42

                    @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 2 Feb 2024, 08:47 Reply Quote 0
                    • J
                      jamme @jamme last edited by 2 Feb 2024, 08:47

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

                      ashish2409 1 Reply Last reply 2 Feb 2024, 09:45 Reply Quote 0
                      • ashish2409
                        ashish2409 @jamme last edited by ashish2409 2 Feb 2024, 09:47 2 Feb 2024, 09:45

                        @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 2 Feb 2024, 09:52 Reply Quote 0
                        • ashish2409
                          ashish2409 @ashish2409 last edited by 2 Feb 2024, 09:52

                          @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
                          • 12 months later
                          • P
                            phuc.nguyen2 last edited by 20 Jan 2025, 08:53

                            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
                            22 out of 25
                            • First post
                              22/25
                              Last post