How are you calling these urls?
If you do, /api/userit will always start from the domain
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi there, I am developing laravel 6 / vue js app. I got several web api's, working on my local machine perfect, but when I put project to server, web api requesting root instead of correct one. using axios, but tried all other get request types, all fail. when try to get list of users, it is requesting to "http://host_root_ip/api/user" should be "http://host_root_ip/project_name/public/api/user" So please help
Please or to participate in this conversation.