Page MenuHomePhabricator

Finding CppRestSDK library alternative
Open, NormalPublic

Description

Currently, REST service in MITK; server & client setup is created using Microsoft's "cpprestsdk".
Link: https://github.com/microsoft/cpprestsdk
This is in maintenance mode and not recommended to use in new projects.

We need to search for alternatives to replace the library

Event Timeline

a178n triaged this task as Normal priority.Nov 30 2022, 5:39 PM
a178n created this task.

The literature survey searching for alternatives is summarized here: https://hub.dkfz.de/s/qsEgaWybwiWcfYN

After a meeting with Ralf and Stefan (30.11.2022), the header-only library cpp-httplib (GitHub: https://github.com/yhirose/cpp-httplib), was chosen as a promising alternative. The library seems the most popular in the GitHub community compared to Pistache, the second favourite library from the list.
Hands-on efforts to build server and client calls will be undertaken to test further suitability.

@a178n I added cpp-httplib as dependency to MITK in the branch mentioned above so you can easily experiment with it. For details, see rMITKf88e3d05aeb0: Add cpp-httplib as optional dependency.