Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios set body

axios({
  method: 'post',
  url: baseUrl + 'applications/' + appName + '/dataexport/plantypes' + plan,
  headers: {}, 
  data: {
    foo: 'bar', // This is the body part
  }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #axios #set #body
ADD COMMENT
Topic
Name
6+3 =