Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

masterenv's avatar

api login

hello good in a larevel application an authentication api was created and I am trying to consumeisla, the user database is the same and the two developments are in larevel and vuejs, and this is the code that I use to consume the api but when I consume it, it only remains on my ip and the view of the other ip does not return

return Http::get('http://172.16.100.102/api/auth/login', [ 'username' => Auth::user()->name, 'password' => Auth::user()->password, ]);

0 likes
1 reply

Please or to participate in this conversation.