qRestAPI is a cross-platform Qt-based library allowing to easily query any RESTful web services.
It also provides a convenience interface to communicate with a Midas server RESTful API.
git clone git://github.com/commontk/qRestAPI.git
mkdir qRestAPI-build
cd qRestAPI-build
cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/path/to/qmake ../qRestAPI
make -j4
git clone git://github.com/commontk/qRestAPI.git
mkdir qRestAPI-build
cd qRestAPI-build
cmake -DQt5_DIR:PATH=/path/to/Qt5.9.1/5.9.1/gcc_64/lib/cmake/Qt5 ../qRestAPI
make -j4
To run the test qMidasAPITest
checking that synchronous query can successfully be executed against http://slicer.kitware.com/midas3 server.
cd qRestAPI-build
ctest
Fork + pull.