bc941269f0
- Smaller gradle scripts. - More structure in sample projects. - Simplified build/run. - Added gradle to the rest two samples. - Almost removed all sh scripts. - Gradle now works only inside of build directory. - Fixed READMEs according to the new changes.
564 B
564 B
HTTP client
This example shows how to communicate with libcurl, HTTP/HTTPS/FTP/etc client library.
Debian-like distros may need to apt-get install libcurl4-openssl-dev.
To build use ../gradlew build or ./build.sh.
To run use ../gradlew run
To change run arguments, change property runArgs in gradle.propeties file
or pass -PrunArgs="https://www.jetbrains.com" to gradle run.
Alternatively you can run artifact directly
./build/konan/bin/Curl/Curl.kexe https://www.jetbrains.com
It will perform HTTP get and print out the data obtained.