I am processing data using GetMapping in Spring Boot.
I looked up the reason and it is expected that when I call Get() in Axios, the Body data does not exist at all and I am passing it. (not empty e.g { } )
Is there any way to handle this ?
When calling json through postman, the result is as follows. postman Get (content-type : Json)
set :
@RequestMapping(value = "/", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
success case :
{
  //data null
}
response : {
  status : 200
} 
fail case :
//{  --> remove brace (I didn't actually comment it out, I used it to indicate that I've removed it.)
    //data null
//}
response : 
{
  "statusCode": "ERROR",
  "status": 415,
  "message": "Content type '' not supported",
  "detailMessage": null
}
 
    