I see a syntax error in the URL, and also I'm suspicious about "models/model.mdl" - better give an absolute path.