I have a problem regardning my JSON. I want to send it to an REST-API Service but there is always an error.
JSON (written in C#):
var json = "{" +
"\"nachname\":\"Rindberger\","+
"\"anmerkung\":{"+
"\"type\":\"multipart\"," +
"\"content\":[ {" +
"\"contentType\":\"application/pdf name=\"jakob.pdf\","+
"\"contentDisposition\":\"attachment filename=\"jakob.pdf\","+
"\"data\":\"" + file + "\"," +
"\"contentTransferEncoding\":\"base64\"" +
"}" +
"]" +
"}" +
"}";
I know this JSON looks very caotic but maybe somone has an idea why this json isn't working.
I tried this JSON in an JSON-Formatter, there comes an error message but I don't understand what this Error-Message means.
I hope somebody can help me. Thanks in advance!