0
我送下列字符串Loggly:loggly登錄問題與JSON字符串
{
ContextInfo: [
{
context.Product.State: Published
},
{
context.Product.SubscriptionRequired: True
},
{
Product.Groups: Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.Configuration.Models.DeveloperGroup,
Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.Configuration.Models.DeveloperGroup,
Microsoft.WindowsAzure.ApiManagement.Proxy.Gateway.Configuration.Models.DeveloperGroup
},
{
Request.Body: [
{
"vehicleType": "train",
"maxSpeed": 125,
"avgSpeed": 90,
"speedUnit": "mph"
}
]
},
{
Request.Headers: [
{
Key=Origin,
Value=chrome-extension: //fhbjgbiflinjbdggehcddcbncdddomop
},
{
Key=Ocp-Apim-Subscription-Key,
Value=36ffceb3cc32435d8189817af868413x
},
{
Key=Postman-Token,
Value=00af3c61-f247-86ba-c4f3-aead9db2be8a
}
]
},
{
context.Request.Method: POST
}
]
}
出於某種原因,Loggly是Request.Body屬性的右括號之前截斷一切。我嘗試刪除引號並用「=」替換「:」。任何想法爲什麼這個錯誤可能會發生或如何解決?