/* **************************************************************************** * * postNotifyContext - */ std::string postNotifyContext(ConnectionInfo* ciP, int components, std::vector<std::string>& compV, ParseData* parseDataP) { NotifyContextResponse ncr; ciP->httpStatusCode = mongoNotifyContext(&parseDataP->ncr.res, &ncr, ciP->tenant); std::string answer = ncr.render(NotifyContext, ciP->outFormat, ""); return answer; }
/* **************************************************************************** * * postNotifyContext - */ std::string postNotifyContext ( ConnectionInfo* ciP, int components, std::vector<std::string>& compV, ParseData* parseDataP ) { NotifyContextResponse ncr; std::string answer; TIMED_MONGO(ciP->httpStatusCode = mongoNotifyContext(&parseDataP->ncr.res, &ncr, ciP->tenant, ciP->httpHeaders.xauthToken, ciP->servicePathV)); TIMED_RENDER(answer = ncr.render(NotifyContext, ciP->outFormat, "")); return answer; }