Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express post method

fetch('',{
	method:'POST',
  	headers:{
    	'content-type': 'application/json'
    },
  	body:JSON.stringify(users)
})
.then(res=> res.json())
.then(data => console.log(data))
Source by zellwk.com #
 
PREVIOUS NEXT
Tagged: #express #post #method
ADD COMMENT
Topic
Name
8+7 =