Getting 404, for new method in extension/users-permission (custom login api)

probably chances are your controller implementation (user.newMethod) not returning anything or you have not defined controller implementation for route.