iI am using the below format to test with a web server.
use -F 'json data'
use -F 'json data' letLet's assume that jsonthis JSON dict format :
{ 'comment': { 'who':'some_one', 'desc' : 'get it' } } full###Full example
curl -XPOST your_address/api -F comment='{"who":"some_one", "desc":"get it"}'