Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sending json data uing fetch is empty

fetch('/api/v1/users', {  
    method: 'post',
    headers: {'Content-Type': 'application/json'},
    body: JSON.stringify({ "user": {
      "email" : email,
      "password" : password
    }}),
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sending #json #data #uing #fetch #empty
ADD COMMENT
Topic
Name
7+4 =