cannot access the body fields of a Request without content-type - Flutter
问题 I am having an issue making an HTTP PUT requests in a flutter. I can print the data on the console but when I tried to parse it to the endpoint that performs a PUT request, it return a response of 404 please can anyone help me? and this is the message: cannot access the body fields of a Request without content-type "application/x-www-form-urlencoded" Here is the actual problem: for (Products i in selectedProducts) { var stockupdate = { "oid": i.oid, // I can't get the oid here "unitInStock":