Level 47
Are you posting to a file or to a route? Usually, you would post to a route and then in routes.php you would define that route and its controller method. From the controller you could send the data to map_process.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a welcome.blade.php in the vew folder which contains a function having a AJAX call in it , which is posting data to another php file (map_process.php) also in view folder . But I am not able to make that call reach map_process.php file . Kindly help , I am stuck at this .
Please or to participate in this conversation.