Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Configure Coherence REST api to return JSON by default?

2644841Apr 30 2014

I am using the Coherence REST API  against Coherence 3.7.1 as detailed here: Introducing Coherence Rest and Building Your First Coherence REST Application

Whenever I attempt to access a URL with a key I get a 404 back unless I append .json to the URL e.g.

http://localhost:9998/dist-cache/0120250663

returns a 404. But

http://localhost:9998/dist-cache/0120250663.json

Returns the object in JSON format.

Is there any way to configure the REST api to return JSON by default so that the .json does not need to be appended to the URL?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 28 2014
Added on Apr 30 2014
0 comments
775 views