Skip to Main Content

ORDS, SODA & JSON in the Database

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!

405 error for parameter in the middle of uri template

Simon CollinsJul 6 2015 — edited Jul 9 2015

Hi All

Should I be able to set up a uri template like the below

room/{roomNumber}/charge

If I try and call this passing in a variable for roomNumber then I get a 405 not found.

If, however, I just set the uri template to

room/{roomNumber}

Then the call works - I can extract :roomNumber which gives back (eg 12/charge). So it looks like ORDS doesn't like parameters in the middle of a URI template or I'm missing something. I'm on the last patched version of APEX 4.2 and ORDSĀ  2.0.9.224.01.05

running on Tomcat.

Thanks

Simon

This post has been answered by Kris Rice-Oracle on Jul 8 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2015
Added on Jul 6 2015
6 comments
1,019 views