Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: add another example
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Dec 13, 2023
1 parent 4d27fd0 commit 476f7fa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ import CodeExample from './components/CodeExample.vue'
}
]
}"/>
<CodeExample target="undici" :request="{
url: 'https://example.com',
method: 'POST',
headers: [
{
name: 'Content-Type',
value: 'application/json; charset=utf-8',
},
],
postData: {
mimeType: 'application/json',
text: JSON.stringify({ hello: 'world' })
}
}"/>
</div>
</template>

Expand Down

0 comments on commit 476f7fa

Please sign in to comment.