I have a Laravel API which is situated in a remote virtual machine. I can access it's welcome page via http://ip-address/laravel-project-name/public. However, I don't have idea on how can I access the API routes on that project.
Can you help me or give me hints on how to access the API routes on that project? I've been digging in Google but unfortunately, I cannot find best solutions.
I'm not sure I understand. How do you connect to this "remote virtual machine"? Using a VPN?
Do you have access to the site's source code? If you do, you can check out the routes by looking at the routes/api.php file.
If not then the site's owner should facilitate documentation listing all the API endpoints enabled for consumption. There's no way of find out that externally (except to try to guess the possible URLs).