Bagisto Forum

    Bagisto

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

    Rest Api in 1.51

    General Discussion
    4
    14
    635
    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 @adebayoade last edited by

      @adebayoade

      Hello there,
      Have you followed all the steps related to the installation of rest-api.

      Please follow the below links for the same.

      Link- https://github.com/bagisto/rest-api

      In case you find any issue, do let us know.

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

        @ashish2409 I followed all the steps carefully.

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

          Hello there,

          Please publish all the assets with the below commands-

          php artisan vendor:publish --force --all
          
          php artisan optimize:clear
          

          If you still facing the same please let us know.
          Thanks.

          A 1 Reply Last reply Reply Quote 0
          • A
            adebayoade @Amitk-Webkul last edited by

            @Amitk-Webkul Thanks for the response. I could register using the registration endpoint but could not log in.

            d048bace-f94b-4964-8bb1-2e9c38562589-image.png

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

              Hello there,

              "Upon review, it appears that only the prefix is not capitalized in the API.

              Thanks.

              A 1 Reply Last reply Reply Quote 0
              • A
                adebayoade @Amitk-Webkul last edited by

                @Amitk-Webkul I can't authenticate. Can you please tell me how to fix this?

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

                  Hello there,

                  Please check the same query I have replied to in your second conversation. Here

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    adebayoade @Amitk-Webkul last edited by

                    @Amitk-Webkul I have capitalized the V1 prefix but still getting an error.

                    366347ca-cd30-456d-910e-41cd9a71f104-image.png

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

                      Hello there,

                      I have replied to your query. Here
                      I think the issue is getting the same so we can continue on the single conversation.

                      Thanks

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        adebayoade @Amitk-Webkul last edited by

                        @Amitk-Webkul said in Rest Api in 1.51:

                        Hello there,

                        I have replied to your query. Here
                        I think the issue is getting the same so we can continue on the single conversation.

                        Thanks

                        There are two different issues but we can focus on one thread at a time.

                        1 Reply Last reply Reply Quote 0
                        • A
                          Amitk-Webkul @adebayoade last edited by

                          Hi @adebayoade,

                          Have you checked the Header in Postman, please check whether the authorization is selected or not, if it is selected then dis-select it and use only the Authorization Bearer token.

                          I hope this finds you useful. Please do let us know about the same.
                          Thank you

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