Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to add a delicious bookmark from a shell script, but keep getting the mysterious "something went wrong" error. I've checked the official spec and several examples and everything looks right. Any ideas?

wget --no-check-certificate --http-user=MYUSERNAME --http-passwd=MYPASSWORD https://api.del.icio.us/v1/posts/add?url=http%3A%2F%2Fwebmonkey.com%2F&description=The%20Internets%20Best%20Singles%20Hangout

also tried

wget --no-check-certificate https://MYUSERNAME:MYPASSWORD@api.del.icio.us/v1/posts/add?url=http%3A%2F%2Fwebmonkey.com%2F&description=The%20Internets%20Best%20Singles%20Hangout
share|improve this question
    
what distro and version of wget? –  Journeyman Geek Mar 1 '12 at 8:18
    
"GNU Wget 1.13.4 built on darwin10.8.0." On OSX 10.6.8 –  Stan James Mar 1 '12 at 18:56
add comment

1 Answer

up vote 1 down vote accepted

The following works using curl:

curl "https://MYUSERNAME:MYPASSWORD@api.del.icio.us/v1/posts/add?&url=http%3A%2F%2Fwebmonkey.com%2F&description=xxx&tags=test&replace=no"

Solution found via this post. Still can't get wget to work, however.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.