posted 2 years ago
Hi all,
the following code shows a REST endpoint made with SpringMVC module:
The PutMapping annotation doesn't provide a consume or produce element that could be:
Is that option (consume/produce) mandatory for some reasons? Why I should use it or not? If I try to make a call with a client (Postman) I can send a JSON format request even if I don't provide the consume/produce element for this endpoint.
Can you please give me more explainations?
Thanks.