/
POST
/
const url = 'https://example.com/';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/Responses
Sección titulada «Responses»Default Response