can anyone please suggest me some good link to create rest webservice accepting JSON in c/c++.
I want my webservice to accept JSON, do some modifications on the received JSON and send the modified JSON to another rest webservice.
Try looking at the first answer : How to Create Restful Web Services using c++ language and JSON Parser
It gives multiple libraries for what you're looking as well as JSON parsing library
For JSON I personally have used https://github.com/nlohmann/json which i found very simple and well explained
Hope this gives you some guidance