Не работает POST запрос

В постмане все работает введите сюда описание изображения

    getQuestionWithoutTag(page, size, id) {
        let query = '/api/question/withTags?page=' + page + '&size=' + size ;
         fetch(query,{
            method: 'POST',
            headers: {
                'Accept': 'application/json, */*',
                'Content-Type': 'application/json'
            },
            body : [id]})
            .then(function(response) {
                if (!response.ok) {
                    let error = new Error();
                    error.response = response.text();
                    throw error;
                }
                return response.json();
            }).catch(error => error.response.then(message => console.log(message)));
    }

Ответ на запрос введите сюда описание изображения


Ответы (0 шт):