Are you using the Postman cookie/session plugin to mirror them from your browser?
Normally the Laravel API won't have session included as well.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I just write that code
session ( [ $sessionKey => $sessionValue ] );
on login process with middleware called StartSession.php
it seems works fine when that API is called though from the postman.
but it does not work when called from android application
I double checked if there is any difference between two HTTP request
but url, body, content-type all those are exactly same.
Have you ever faced this problem before?
Please or to participate in this conversation.