Bagisto Forum

    Bagisto

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

    Cart as a guest user ( API )

    Bug Report
    2
    4
    603
    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.
    • A
      abo last edited by

      How can i use cart using API while session not working with API how can i save the session to complete my action or how can i generate a temporary token for guest so he can use the application as logged in user

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Currently, you need to use the cookies for the guest portion. As we have not provided tokens for the guest.

        Laravel will detect the session from the cookies.

        1 Reply Last reply Reply Quote 0
        • A
          abo last edited by

          @devansh-webkul said in Cart as a guest user ( API ):

          Thanks for your reply.
          how can I send the cookies from the postman?
          06e391f2-0d02-421a-b5d4-d4ed9c1c5738-image.png

          what is the bagisto_session?

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by

            In postman, these cookies are sent automatically but when you do in code you need to store and send it with each request.

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