diff README.md @ 483:02d043b1967d

Accept file upload instead of binary gzip parameter
author nanaya <me@nanaya.pro>
date Sun, 28 Nov 2021 19:54:08 +0900
parents 72557a5310d9
children 6cac8fcf8164
line wrap: on
line diff
--- a/README.md	Sun Nov 28 19:45:59 2021 +0900
+++ b/README.md	Sun Nov 28 19:54:08 2021 +0900
@@ -30,11 +30,11 @@
 
 Or with gzip to save bandwidth:
 
-    ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-'
+    ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=@-'
 
 Privately:
 
-    ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-'
+    ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'
 
 Design
 ------