🛠️ToolsShed

Convertitore cURL in Fetch

Converte i comandi curl in JavaScript fetch o axios.

async function main() {
  const response = await fetch('value"}', {
    method: 'POST',
    headers: {
      'Content-Type': ''
    },
    body: "{\"key\":"
  });
  const data = await response.json();
  console.log(data);
}

main();

Domande Frequenti

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.