I am new to wso2 products. I am working on a POC to front a back-end system
that accepts http post/get requests with the wso2 API manager to expose them
as a REST(json) API. How can I achieve the following requirement?

I am thinking about using script mediator to achieve this. Please let me
know if there is a better and elegant solution to do this.

Input JSON payload
=============
{
    "apiName":"addNum",
    "apiVersion":"v1.0.1",
    "inputs":[{"name":"input1","value":"1"},{"name":"input2","value":"2"}]
}

Expected query string in the end point URL
============================
https://localhost:8243/testapi/v1/addnum?input1=1&input2=2

Thanks
Satheesh



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/API-Manager-1-8-0-JSON-data-to-URI-Conversion-tp111618.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to