РС
Size: a a a
РС
НА
НА
НА
NK
/*НА
M
РС
РС
РС
NK
axios
.get("https://jsonplaceholder.typicode.com/posts/" + postID)
.then(response => {
let { data: data_blog } = response;
return axios.get(
"https://jsonplaceholder.typicode.com/users/" + data_blog.userId
);
})
.then(response => {
let { data: data_user } = response;
return axios.get("https://jsonplaceholder.typicode.com/comments/");
})
.then(response => {
let { data: data_comments } = response;
this.setState({
blog: data_blog,
user: data_user,
comments: data_comments,
comments_number: 5
});
});
Т
РС
РС
РС
РС
Т
Т
Т
OPTIONS https://jsonplaceholder.typicode.com/posts/3 net::ERR_CONNECTION_TIMED_OUT