mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
docs: update curl examples in Webhook node documentation to use corre… (#4365)
This commit is contained in:
committed by
GitHub
parent
2993a310f4
commit
88e4d2b1b6
@@ -48,7 +48,7 @@ curl --request GET <https://your-n8n.url/webhook/path>
|
||||
Make an HTTP request with a body parameter:
|
||||
|
||||
```sh
|
||||
curl --request GET <https://your-n8n.url/webhook/path> --data 'key=value'
|
||||
curl --request POST <https://your-n8n.url/webhook/path> --data 'key=value'
|
||||
```
|
||||
|
||||
Make an HTTP request with header parameter:
|
||||
@@ -60,7 +60,7 @@ curl --request GET <https://your-n8n.url/webhook/path> --header 'key=value'
|
||||
Make an HTTP request to send a file:
|
||||
|
||||
```sh
|
||||
curl --request GET <https://your-n8n.url/webhook/path> --from 'key=@/path/to/file'
|
||||
curl --request POST <https://your-n8n.url/webhook/path> --form 'key=@/path/to/file'
|
||||
```
|
||||
Replace `/path/to/file` with the path of the file you want to send.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user