Difference between revisions of "Curl"

From knowledgebase
Jump to navigation Jump to search
(Created page with "<html><p>curl -X PUT -H 'Content-Type: image/png' --data-binary @/mnt/newserver/shared/Fotos/200911\ -\ caro\ parijs/Foto0247.jpg http://tiddlyweb.vanwill.com/bags/common/tidd...")
 
(Replaced content with "Curl Category:log")
Tag: Replaced
Line 1: Line 1:
−
<html><p>curl -X PUT -H 'Content-Type: image/png' --data-binary @/mnt/newserver/shared/Fotos/200911\ -\ caro\ parijs/Foto0247.jpg http://tiddlyweb.vanwill.com/bags/common/tiddlers/test</p><p>&nbsp;</p><p>1) First use curl to post username and password to the cookie_form and</p><p>store a cookie for it locally:</p><p>curl --cookie-jar cookies.txt -d "user=dirkjan&password= &submit=submit" http://tiddlyweb.vanwill.com/challenge/cookie_form</p><p>&nbsp;</p><p>2) Pass the created cookie to subsequent post to upload tiddlers</p><p>&nbsp;</p><p>curl --cookie cookies.txt -X PUT -H 'Content-Type: text/plain' --data-binary @<filename>&nbsp; http://tiddlyweb.vanwill.com/bags/default/tiddlers/monkey</p></html>
+
Curl
 
[[Category:log]]
 
[[Category:log]]

Revision as of 19:06, 27 August 2020

Curl