I would like to know if square brackets ([
and ]
) are standard in REST URL parameters.
I have to call a Cloud REST WebService by settings all parameters in the URL. The URL looks like:
https://DNS_SERVEUR/api/2/conversation?filters[website]=1234&data=a0123....
You can see that one parameter's name contains square brackets:
filters[website]
Calling the URL directly with Firefox or SOAP-UI does not raise any issue (they do not crash on square brackets).
However, using Oracle Fusion Middleware 12.2.1.1.0 and dedicated REST adapter, I have an error: square bracket characters are not allowed in parameter name.
So here is my question: Can square bracket characters ([
and ]
) be used as standard REST URL parameters? Or is it a limitation in Oracle Fusion Middleware?
I searched on the Internet and did not get any clear answer. The only example (in French) using it is to manipulate associative array in PHP: http://cyberzoide.developpez.com/php4/url/#LII-E. As PHP is very permissive, I do not take it has a reliable reference for standard.