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
axios.put(url,{body},{headers:{}})
example:
const body = {title: "what!"} const api = { apikey: "safhjsdflajksdfh", Authorization: "Basic bwejdkfhasjk" } axios.put('https://api.xxx.net/xx', body, {headers: api})