Have you tried putting the log level of “REST Publish” up to TRACE. That should reveal what is happening for every request to your REST service in the console. Hopefully it will give you some clues.
Good luck!
Nice! Thanks Robert. I will use this more often now!
Turns out it wasn’t a coding error, it was a data error… apparently I had the sample input data incorrectly formatted. Only thing that I really see is the first element of the array starting on the “array opening specification”.
This is an apparent Error:
[{
"VehicleId": 0,
"Make": "Jaguar",
"Model": "XKE",
"Color": "British Racing Green",
"Year": 1967,
"Style": "Coupe"
}, {
"VehicleId": 0,
"Make": "Ford",
"Model": "F150",
"Color": "White",
"Year": 1994,
"Style": "Truck"
}
]
But, this Works:
[
{
"VehicleID": 0,
"Make": "Jaguar",
"Model": "XKE",
"Color": "British Racing Green",
"Year": 1967,
"Style": "Coupe"
}, {
"VehicleID": 0,
"Make": "Ford",
"Model": "F150",
"Color": "White",
"Year": 1994,
"Style": "Truck"
}
]