We have a controller method like this: public void foo(String theBodyParam) {}
If we call the endpoint of this function (eg. from Postman) with empty/none/null body, the theBodyParam should be null but it is an empty string ("") instead.
Is this a bug or an intended feature?
We have a controller method like this:
public void foo(String theBodyParam) {}If we call the endpoint of this function (eg. from Postman) with empty/none/null body, the
theBodyParamshould benullbut it is an empty string ("") instead.Is this a bug or an intended feature?