I have a route like that: http://localhost/chatbot
But it is public and anyone who knows that can try massive attack with POST/GET or try to pass fake params.
There are any way the prevent this?
I thought to create middleware, but what i should to check?
My chatbot response to webdriver and TelegramDriver.
@willsilvano I guess you can change your route to something like /chatbot/{token} and then check if {token} from route params equals to your actual bot token
I agree with @sergiy-petrov
But you have to update the webhook accordingly
@feralheart yeah sure!
@sergiy-petrov Thank you for suggestion. I think is a good idea!