Start a new topic

Merge one or several api results

Hello, Example i have two apis, and this apis returning different result.

api one : service/api?mode=resultone,

and api one get result

{

   "other":"other1",

   "things":"things1"

}

api two : service/api?mode=resulttwo,

and api two get result

{

   "other":"other1",

   "things":"things1",

   "stuff":"stuff1"

}


Okay now i want combining these two results and obtaining a result as follows.

{

   "other":"other1",

   "things":"things1",

   "stuff":"stuff1"

}


I am doing the service define process but how can i combing result and apis i dont know.

which article should I read or what kind of path should I follow.


Thank you very much in advance.




Login or Signup to post a comment