Mam takie elementarne pytanie, mianowicie mam takie api:
[code]upload
POST with “Content-Type: multipart/form-data”.
There are 3 required parameters:
* method - upload
* api_key - string representing the API key
* file - transmit the image[/code]
Jak wywołać taki request, oraz jak załadować w parametr file dany plik (File.open czy Kernel.open)?
Z góry dzięki za pomoc!