When I execute the following code from my browser the server gives me 400 and complains that the request body is missing. Anybody got a clue about how I can pass a simple st
simply put in headers 'Content-Type': 'application/json' and the sent data in body JSON.stringify(string)
'Content-Type': 'application/json'
JSON.stringify(string)