If you have python available, a simple script can help you there. uploadJar.py:
> import requests # you might need to 'pip install requests' from command > line > > uploadUrl = 'http://localhost:8081/jars/upload' # Replace localhost with > your JobManager url > jarName = '/path/to/jar/file.jar' > files = {'file': (jarName, open(jarName, 'rb'), > 'application/x-java-archive')} > res = requests.post(uploadUrl, files=files) > print res.json() > You can run this script by running "python uploadJar.py" from command line. Hope it helps! Shailesh On Fri, Dec 8, 2017 at 9:40 PM, Edward <egb...@hotmail.com> wrote: > Has anyone successfully uploaded to the REST API using command line tools > (i.e. curl)? If so, please post an example. > > > > -- > Sent from: http://apache-flink-user-mailing-list-archive.2336050. > n4.nabble.com/ >