ekrist1
113
1
Laravel

Eventing and HTTP reponses

Posted 1 year ago by ekrist1

If you are using the Laravel Events to send an SMS to a recipient you will not be able to return any values since the Event classes returns void. How do you return a HTTP api error response? Lets say that you don't have any creditt left at on your Nexmo account, how do you notify the user when using Laravel Events?

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

Reply to

Use Markdown with GitHub-flavored code blocks.