Friday, February 6, 2009

POSTing image conntinued...

rest-client:
As a poster on a page I linked to mentioned, I can't figure out how to make rest-client post in multipart.

curb (ruby bindings for libcurl):
Rails was segfaulting.

curl on the command line:
A little hacky, but it works. I actually had a picture show up in the approval queue!

Also, I didn't change some hard coded image id's for the rate submitter and comment submitter, so that explains why rating would get back a number successfully, but on a refresh it wouldn't persist.

1 comment:

Evelyn said...

very interesting!