rest-api:curl
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rest-api:curl [2023/09/29 14:04] – created odefta | rest-api:curl [2023/09/29 14:06] (current) – odefta | ||
---|---|---|---|
Line 5: | Line 5: | ||
</ | </ | ||
- | < | + | |
- | curl -u Admin:Admin " | + | |
- | </ | + | |
- | + | ||
- | | + | |
- **Username**: | - **Username**: | ||
- **Password**: | - **Password**: | ||
Line 15: | Line 11: | ||
- **Headers**: | - **Headers**: | ||
- **Content-Type**: | - **Content-Type**: | ||
- | - **Data/ | + | - **Data/ |
- | - **Output**: The output of the command will be redirected to a file named '' | + | - **Output**: The output of the command will be redirected to a file named out.txt. |
- **-k**: This option allows curl to proceed and operate even for server connections otherwise considered insecure. | - **-k**: This option allows curl to proceed and operate even for server connections otherwise considered insecure. | ||
- **-v**: Makes the operation more talkative. You can see information about the SSL certificate, | - **-v**: Makes the operation more talkative. You can see information about the SSL certificate, | ||
+ | |||
rest-api/curl.1695985457.txt.gz · Last modified: 2023/09/29 14:04 by odefta