introduction-to-postman-course
introduction-to-postman-course copied to clipboard
Validation
List of books GET /books Returns a list of books. Optional query parameters: type: fiction or non-fiction limit: a number between 1 and 20.
If the number is above 20 it is showing an error for 400. But if we put the value below the number 1 ex. 0 or 0.5etc. No error is being shown. In this scenarios the error should be shown for the value below the number 1 right? Can you help me for this, whether the error should be shown or not, if the value is below the number 1.
List of books GET /books Returns a list of books. Optional query parameters: type: fiction or non-fiction limit: a number between 1 and 20.
If the number is above 20 it is showing an error for 400. But if we put the value below the number 1 ex. 0 or 0.5etc. No error is being shown. In this scenarios the error should be shown for the value below the number 1 right? Can you help me for this, whether the error should be shown or not, if the value is below the number 1.
I hope this API is only for practicing some logic of HTTP/HTTPS requests we can except cent percent performance of this API. I think API creator does not handled this type of exceptions.