1👍
✅
You are creating a new object in the argument here:
body: JSON.stringify({formData}),
Resulting in body
being:
{"obj":{"username":"username","password":"password"}}
Remove the curly brackets, and it should help.
Source:stackexchange.com