Set task custom field using curl

Not me - when I try that, I get:
"Could not parse request data, invalid JSON"

@Floris_Thijssen, how about you? Does it work for you?