forked from electricdusk/rushlink
		
	Remove file storage possibility for now (awaits #12)
This commit is contained in:
		
							parent
							
								
									b738116f8a
								
							
						
					
					
						commit
						801ac8adbb
					
				@ -8,13 +8,10 @@ the command line.
 | 
			
		||||
 | 
			
		||||
## USAGE
 | 
			
		||||
 | 
			
		||||
    # Upload a file
 | 
			
		||||
    curl -F'file=@yourfile.png' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
 | 
			
		||||
 | 
			
		||||
    # Shorten a URL
 | 
			
		||||
    curl -F'shorten=http://example.com/some/long/url' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
 | 
			
		||||
 | 
			
		||||
    # Shorten a URL with a token to delete it later
 | 
			
		||||
    curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
 | 
			
		||||
</pre>
 | 
			
		||||
{{end}}
 | 
			
		||||
{{end}}
 | 
			
		||||
 | 
			
		||||
@ -6,11 +6,8 @@ the command line.
 | 
			
		||||
 | 
			
		||||
## USAGE
 | 
			
		||||
 | 
			
		||||
    # Upload a file
 | 
			
		||||
    curl -F'file=@yourfile.png' {{.Request.Host}}
 | 
			
		||||
 | 
			
		||||
    # Shorten a URL
 | 
			
		||||
    curl -F'shorten=http://example.com/some/long/url' {{.Request.Host}}
 | 
			
		||||
 | 
			
		||||
    # Shorten a URL with a token to delete it later
 | 
			
		||||
    curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}}
 | 
			
		||||
    curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user