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

Moeez448's avatar

Not getting right url in laravel api

I am trying to return the url of a csv in laravel api but i don't know why it's not returning the right url. That is how I am getting a response.

C:\laragon\www\cdp-admin-panel\/clean_sheet/VillageBloomery1540West2ndAveVancouverNov.csv.

Here is my code .

$data->clean_sheet_url = base_path() . '/clean_sheet/' . $path;

0 likes
7 replies
stealthbeds's avatar

In order to complete my university assignment, I'm developing an eCommerce website with a Nuxt.js front end and a Laravel Rest API in the back end. I was able to construct the first iteration of the Rest API to buy xanax, but now I'm unsure of where to deploy it. I'm also unsure of how big my database should be because I'll have to submit images for a variety of items, blog posts, etc.

Please or to participate in this conversation.