API call's in which comma in the URL request params are getting failed with response code 4
Content
Sample URL: https://objectstorage.us-ashburn-1.oraclecloud.com/n/namespace/b/bucket-XYZ?fields=approximateCount,approximateSize
We are using DefaultHttpClient to handle http connections & URLs are encoded using URLEncodedUtils.format() method.
After encoding: https://objectstorage.us-ashburn-1.oraclecloud.com/n/namespace/b/bucket-XYZ?fields=approximateCount%2CapproximateSize
Why the calls are getting failed when encoded? I tried this in postman as well & the result is same.
Is this anything related to Oracle Cloud Server's not accepting the encoded values? Not sure.
Any suggestions?
1