fix the curl message
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -70,8 +70,8 @@ fn index() -> String {
|
|||||||
format!(
|
format!(
|
||||||
"Use curl to upload:\n\
|
"Use curl to upload:\n\
|
||||||
curl -F file=@\"[file]\\n\" {url}\n\
|
curl -F file=@\"[file]\\n\" {url}\n\
|
||||||
If key is enabled then a header \"key\" might be required in which case it would be\n\
|
If key is enabled then a field \"key\" might be required in which case it would be\n\
|
||||||
curl -F file=@\"[file]\" --header \"key: [key]\" {url}",
|
curl -F file=@\"[file]\" --F \"key=[key]\" {url}",
|
||||||
url = env_user_url()
|
url = env_user_url()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user