I'm working on creating an endpoint to edit a user record (/user/{user_id}).
I've configured the file resource input to be optional. Despite this, I keep encountering the error 'Missing file resource'.
How can I adjust my setup so that the API operates correctly even when a file resource is not uploaded?
How to make the file resource optional?
Answered
3 replies