Can Apigee wrapper a Json-RPC?

Not applicable

Our API supports only json-rpc. How will made proxy for this API?

Solved Solved
0 2 865
1 ACCEPTED SOLUTION

Not applicable

Yes, Apigee should be able to create a proxy for a json-rpc API. If it is http-based, which it should be, there should be no problem.

Can you give more details about your use case and what you're trying to do. It would help us answer your question in more detail.

View solution in original post

2 REPLIES 2

Not applicable

Yes, Apigee should be able to create a proxy for a json-rpc API. If it is http-based, which it should be, there should be no problem.

Can you give more details about your use case and what you're trying to do. It would help us answer your question in more detail.

Hi Michael,

The following example shows a simple example of a Json-RPC request and the result of correct and incorrect answers. How will made proxy for this example?

Request: { "id": 1 "jsonrpc": "2.0", "method": "getAccountBalance", "params": ["883140776011039"] } Success response: { "id": "1", "jsonrpc": "2.0", "result": { "balance": "80", "currency": "EUR" } } Error response: { "id": 1, "jsonrpc": "2.0", "error": { "code": -32603, "message": "Internal error." } }