On my end I did something like this (in Laravel)
PHP Controller
$base64Auth is $authStr here
PHP Service
You can do a cURL GET request and it will be the same.
$user will contain the user's data or nothing if the username / password aren't matching.
Regards,
Firyo.
Leave a comment: