I don’t use Docker, but instead of poking with curl, maybe the new ServerUtil program can do it.
New tool to manage a running server