Unable to train rasa through RASA server

So I have pulled the latest image from the docker and running it locally exposing it’s port with a docker-compose file of my own.

When I hit the train URL i.e,

http://localhost:5005/model/train?save_to_default_model_directory=true&force_training=false&callback_url=

I get a 404 Not found reponse…

But when i run the rasa server through terminal… using the following cmd

rasa run -m models --enable-api --cors “*” --debug

and hit the train api, The training sequence is established, Does any one know why?