[Pharo-project] curl / http request

Camillo Bruni camillo.bruni at inria.fr
Sat Apr 23 20:05:55 CEST 2011


I am too dumb and there is too little documentation which is hard to find :).
So can anyone tell me how I do the following bash thingy in pharo?

curl $URL --data-binary $SOME_FILE -H 'Content-type:application/json'

I don't manage to get this working properly. I guess HTTPSocket is the class to use...

thanks a lot
camillo





More information about the Pharo-project mailing list