XF 2.2 Fill multi-value custom thread field using API

DNF-SaS

New member
Hi,

can anybody give a cURL-example how to fill a multi-value custom thread field using the REST-API?
A single value works, but when using multiple values, only the last one get stored.

Thanks
Sascha
 
Untestested

Code:
custom_fields[fieldname][]=fieldvalue1&custom_fields[fieldname][]=fieldvalue2&custom_fields[fieldname][]=fieldvalue3
 
Last edited:
Top Bottom