is events/listener the right way to do so?

Posted 8 months ago by jahstation

I need to waiting (listen) for a request from client trough API route, that will send me some text, when the request is received i need to confirm it to the client and send the text to a blade view not back to the client's api.

I dont think that i can do everything in a controller logic.

wich one is the smarter way to do that in laravel? Events/listener? seem a little bit complicated to me, but if is the faster way i'll study it in deep...

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

Reply to

Use Markdown with GitHub-flavored code blocks.