lararocks
2 weeks ago
192
9
Laravel

API request execution time

Posted 2 weeks ago by lararocks

I have a mobile app that makes an http request to Laravel by sending text data, images, and one video. In the Laravel API function, I read the base64 files, save it to storage, and then update the DB.

The problem: The process of writing files takes time and mobile users have to wait for the response from the Laravel API to get the thank you message.

Is there a way where I can return the response to user while the files are being saved to storage to minimize the response time to users?

Thanks

Please sign in or create an account to participate in this conversation.