I have some JSON
that i am sending over to my C#
API
and it looks like the following
{
"currency": "BTC",
"amount": "0.00049659",
"type": "bankToExchange"
}
The issue is when the model arrives in my controller, the type
property is changed to @type
which is making the post request fail.
The API I am trying to connect to uses type
, so this cannot be changed. The post works in Postman
, so is there a work around for this?