Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Pavel Abdrashitov
Added: Apr 2, 2021 10:45 AM
Modified: Apr 2, 2021 10:47 AM
Views: 2
Tags: no tags
  1.     const formData = '';
  2.     axios.post(process.env.REACT_APP_API + '/3.0/json/', formData,
  3.       {withCredentials: true})
  4.       .then(response => {
  5.  
  6.       }).catch(error => console.error(error));