It looks like you're new here. If you want to get involved, click one of these buttons!
`Missing or empty field `exchange``
curl https://api.kite.trade/orders/regular \
-H "X-Kite-Version: 3" \
-H "Authorization: token xxx:yyy" \
-d "{'exchange':'NFO','product':'MIS','quantity':40,'tradingsymbol':'FINNIFTY2371120150CE','validity':'DAY','tag':'order:A:1','transactionType':'SELL','orderType':'MARKET'}"
{"status":"error","message":"Missing or empty field `exchange`","data":null,"error_type":"InputException"}
This is strange behaviour. Unpredictability doesn't help.
--header 'Content-Type: application/x-www-form-urlencoded'
and form input data should be in the same format as given in the examples.