validate json schema sent from request body to an api
hi all, im trying to send a request from postman to asp net api, but the net api need to validate the schema value pass from the postman request body, how can we validate the value "theValidSchemaValueToAnAPI"? i understand if we want to validate a model state, we put a "Required" data annotation, but validating the value doesnt seem to work..
2 Replies