How i send body in method GET, but i'm not getting.
i try, but don't working
const res = await axios({
method: 'get',
url: `${this.state.url}Docto/Imagens`,
headers: {
Authorization: `Bearer ${Token}`,
"Content-Type": "application/json"
},
processData: false,
data: { Id: 4075 },
body: { Id: 4075 }
})
In Postman, the request normally worked
I know the correct would be to pass the parameter via querystring on get, but the back end did this way.