When uploading data to /api/location-names as JSON data it uses JsonSerializer, when a required parameter is not present it will error. Error handling should be implemented and then standardized to make it easy to catch such errors for any future endpoints that will take JSON data.
When uploading data to
/api/location-names
as JSON data it uses JsonSerializer, when a required parameter is not present it will error. Error handling should be implemented and then standardized to make it easy to catch such errors for any future endpoints that will take JSON data.