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.
    • 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