Fixed bad url on GET, DELETE when params are empty