Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

chrome developer tools send get request

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 by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #chrome #developer #tools #send #request
ADD COMMENT
Topic
Name
1+4 =