curl --data equivalent code example
Example: curl what is --data
// Ex: axios post
const options = {
method: 'POST',
headers: {},
data: JSON.stringify({}),
url: '',
};
const something = await axios.post(options);
// Ex: axios post
const options = {
method: 'POST',
headers: {},
data: JSON.stringify({}),
url: '',
};
const something = await axios.post(options);