I'm using POST to "/task/<id>/attachments" to attach a file to a task.
When that file is JSON data, with content type "application/json", the response is error 400 Bad Request with the following error description:
"Parameter `<first key in json object>` is not allowed"
I can work around this by massaging the content type to be "text/plain", but it would be nice if I didn't have to add a special case for json data.
Is there json that is allowed to be posted to "/task/<id>/attachments"? What does that do?
By the way, the use case here is for bug reports. The task is a bug report, and I'm trying to attach relevant input (the json file) for recreating the issue being reported.