-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Add an output format to convert the curl comments into JavaScript fetch requests.
Something like this:
fetch('https://example.com/', {
method: 'POST',
headers: {
'Content-Type': 'Content-Type: application/json',
},
body: JSON.stringify('{"key":"value"}',),
})
.then(response => response.json())
.then(data => console.log(data))
.catch((error) => console.error('Error:', error));
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels