I am trying to delete some of my post from http://ix.io
I have a file test.txt
and ~/.netrc
with this content:
$ cat test.txt Hello World! $ cat ~/.netrc machine my_ip_addr login my_username password my_passwd
I post it with:
$ curl --netrc -F 'f:1=@./test.txt' ix.io http://ix.io/3LCu # This link actually works
Now lets delete the post with this:
$ curl -n -X DELETE ix.io/3LCu user required # This does not work.
And the link still works! I want to delete it, what am I doing wrong?
~/.netrc
file found in thecurl(1)
manual uses three separate lines (one for machine, one for login, and one for password). Following that pattern, does it make it work? Also, ismy_id_addr
in that file actuallyix.io
(it should be the address of the server you are connecting to).