Validate IDs and throw error if invalid ID.
I have a requirement where i need to validate IDs and throw error if invalid. I have created data source and added available IDs. I have created one request and assigned data source to it. I am passing two parameters in my responder. I tried to execute but i am not successful in throwing error.
Created Data Source and added column as IDs:-
Responder - Check-InvalidIDs
ID and date.
message: Invalid ID and status code is 400.
Note:- I don't have a logic code to check for IDs so i just added one data source and attached it to responder. Can i achieve this with my scenario?