Как правильно сделать get запрос с body
getQuestionWithoutTag(page, size, id) {
let query = '/api/question/withTags?page=' + page + '&size=' + size;
return fetch(query,{body : JSON.stringify(id)})
.then(response => {
if (response.ok) {
return response.json()
} else {
let error = new Error();
error.response = response.text();
throw error;
}
}).catch(error => error.response.then(message => console.log(message)));
}