Can anyone tell me if I can (in the command line) issue a POST command that contains a file and other parameters?
I am trying to do something like:
curl -X POST -F "key=myKey&file=@myfile.txt" http://localhost:8080/myRestService/
I am really new in this domain, so excuse me for my basic question. But it does not seems to work well. Any suggestion? Tank you very much