I have a middleware that checks for a specific header parameter in the request and sends back a response based on that.
But the problem I have is that I don't want this middleware run always on a function in my Controller. I want that middleware runs if a condition gets true in a function (for example: store function).
How can I achieve this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire