mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-26 18:22:16 +00:00
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
# Fetch
|
|
|
|
Undici exposes a fetch() method starts the process of fetching a resource from the network.
|
|
|
|
Documentation and examples can be found on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/fetch).
|
|
|
|
## File
|
|
|
|
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/File)
|
|
|
|
In Node versions v18.13.0 and above and v19.2.0 and above, undici will default to using Node's [File](https://nodejs.org/api/buffer.html#class-file) class. In versions where it's not available, it will default to the undici one.
|
|
|
|
## FormData
|
|
|
|
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FormData)
|
|
|
|
## Response
|
|
|
|
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Response)
|
|
|
|
## Request
|
|
|
|
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Request)
|
|
|
|
## Header
|
|
|
|
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
|