this issue causes by https://gerrit.iotivity.org/gerrit/#/c/13151/
Change-Id: I7eb1a208f65bd6a1f6a207de85363fd540bd2705
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13647
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
if (requestType == "GET")
{
cout << "\t\t\trequestType : GET\n";
- pResponse->setErrorCode(200);
pResponse->setResponseResult(OC_EH_OK);
pResponse->setResourceRepresentation(get());
if (OC_STACK_OK == OCPlatform::sendResponse(pResponse))
// Do related operations related to POST request
OCRepresentation rep_post = post(rep);
pResponse->setResourceRepresentation(rep_post);
- pResponse->setErrorCode(200);
if (OC_STACK_OK == OCPlatform::sendResponse(pResponse))
{