Chrome Developer Tools Send Get Request

[Solved] Chrome Developer Tools Send Get Request | Shell - Code Explorer | yomemimo.com
Question : chrome developer tools send get request

Answered by : steve-mckinney

fetch('https://jsonplaceholder.typicode.com/posts', { method: 'POST', body: JSON.stringify({ title: 'foo', body: 'bar', userId: 1 }), headers: { 'Content-type': 'application/json; charset=UTF-8' }
})
.then(res => res.json())
.then(console.log)

Source : https://stackoverflow.com/questions/14248296/making-http-requests-using-chrome-developer-tools | Last Update : Wed, 06 Jan 21

Question : chrome developer tools send get request

Answered by : steve-mckinney

fetch('https://jsonplaceholder.typicode.com/posts/1') .then(res => res.json()) .then(console.log)

Source : https://stackoverflow.com/questions/14248296/making-http-requests-using-chrome-developer-tools | Last Update : Wed, 06 Jan 21

Answers related to chrome developer tools send get request

Code Explorer Popular Question For Shell