Place an order of a particular variety gives error 'Missing or empty field `exchange`'

raavi
Place an order of a particular variety gives error 'Missing or empty field `exchange`'

url:
https://api.kite.trade/orders/regular

method:
POST

headers:
Authorization: token api_key:access_token
Content-Type: 'application/json'

body:
{
quantity: 15,
order_type: 'LIMIT',
tradingsymbol: 'BANKNIFTY2381743900CE',
product: 'NRML',
exchange: 'NFO',
transaction_type: 'BUY',
validity: 'DAY',
price: 50
}

Can you please tell what is missing here?
  • sujith
    Place order API is a form POST and not json POST API. You can know more here.
  • raavi
    Thank you for the quick reply.
    The issue is resolved.
    I can place orders now.
This discussion has been closed.