Curl (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
== Installation == | == Installation == | ||
Version vom 15. Januar 2020, 12:15 Uhr
Installation
sudo apt-get install -y curl
Verwendung
Upload einer Multipart-Datei
curl -X POST \ -H "Content-Type: multipart/form-data" \ -H "Cookie: JSESSIONID=A745FE67D2D13D24526261CBBA6883FB; XSRF-TOKEN=36af42c6-7988-4ccb-a11d-6bb9ebdd3b69" \ -F "file=@/mnt/c/Users/Martin/Downloads/Test.xlsx" \ http://localhost:8080/import-test/rest/importer/excel?_csrf=36af42c6-7988-4ccb-a11d-6bb9ebdd3b69
Links
https://curl.haxx.se/docs/manpage.html
Zurück zu Ubuntu