Removed throw from rest.required

Now rest required sends a message when a parameter is missing and returns a boolean