2 months ago

Getting response from a POST request

Posted 2 months ago by TimeSocks

Hi folks,

Let's say I use Vue and Axios to post data to a Laravel controller to, say, create a booking in a database. As part of the creation process, a booking reference is generated. I can return this reference as a signal to Vue that the POST request was successful. How can I grab this response to display the reference to the customer?

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