Я включил конечные точки управления, включая httptrace, используя указанное ниже свойство.
management.endpoints.web.exposure.include = *
, но с использованием http://localhost:8081/actuator/httptrace
параметр тела запроса не приходит в ответ
{
"traces": [
{
"timestamp": "2019-02-15T01:39:50.595Z",
"principal": null,
"session": null,
"request": {
"method": "POST",
"uri": "http://localhost:8080/hi",
"headers": {
"content-length": [
"15"
],
"postman-token": [
"82b0e3eb-6359-4d06-980c-669e553ef5b8"
],
"host": [
"localhost:8080"
],
"connection": [
"keep-alive"
],
"content-type": [
"application/json"
],
"cache-control": [
"no-cache"
],
"accept-encoding": [
"gzip, deflate"
],
"accept": [
"*/*"
],
"user-agent": [
"PostmanRuntime/7.6.0"
]
},
"remoteAddress": null
},
"response": {
"status": 200,
"headers": {}
},
"timeTaken": 1
}
]
}