comparison 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
comparison
equal deleted inserted replaced
482:403f71d22b7b 483:02d043b1967d
28 28
29 ...some commands... | curl 'https://0paste.com/pastes.txt' -F 'paste[paste]=<-' 29 ...some commands... | curl 'https://0paste.com/pastes.txt' -F 'paste[paste]=<-'
30 30
31 Or with gzip to save bandwidth: 31 Or with gzip to save bandwidth:
32 32
33 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=<-' 33 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[paste_gzip]=@-'
34 34
35 Privately: 35 Privately:
36 36
37 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=<-' 37 ...some commands... | gzip | curl 'https://0paste.com/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'
38 38
39 Design 39 Design
40 ------ 40 ------
41 41
42 Current design is a bit crap. Suggestions and actual designs are welcome. 42 Current design is a bit crap. Suggestions and actual designs are welcome.