SOLVED: Inside the body of the HTML post on Postman, you need to include the exact variable name that the controller function uses (in my case this is ‘user’).
{“user”:{“name”:“test2”,“amount”:“5.0”}}
^^ This worked!
Thanks all who helped
SOLVED: Inside the body of the HTML post on Postman, you need to include the exact variable name that the controller function uses (in my case this is ‘user’).
{“user”:{“name”:“test2”,“amount”:“5.0”}}
^^ This worked!
Thanks all who helped