MCPcopy Create free account
hub / github.com/MITK/MITK / HandlePOST_nodes

Method HandlePOST_nodes

Modules/RESTAPI/src/mitkDataStorageController.cpp:1194–1203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192}
1193
1194void DataStorageController::HandlePOST_nodes(const httplib::Request& req, httplib::Response& res)
1195{
1196 if (!m_Bridge.HasDataStorage())
1197 {
1198 this->SendErrorResponse(res, 503, ErrorResponse::DataStorageNotAvailable(req.path));
1199 return;
1200 }
1201
1202 this->HandlePOST_nodes_uid_generic(req, res, std::nullopt);
1203}
1204
1205void DataStorageController::HandleGET_nodes_uid(const httplib::Request& req, httplib::Response& res)
1206{

Calls 3

SendErrorResponseMethod · 0.95
HasDataStorageMethod · 0.45