Hello, I have defined several fields in JSON for an API call with a patch/put request. Many of them accept strings. If a transferred variable is null, the JSON writes, for example, "username": “null” instead of "username": null. This causes problems for the backend. Does anyone have any ideas on how to solve this? Currently, the only solution I can think of is to create a separate endpoint for each field in the body.
Example JSON Body:
How the request Body looks like:
Best regards,
Chris