How to avoid encoding of path parameters of a REST API in Visual Builder at runtime?
Summary:
I'm trying to download a file from Object Cloud Storage Bucket using the /n/{namespaceName}/b/{bucketName}/o/{objectName} API. The objectName contains the whole file path including the directory. For eg. objectName = "dir1/subdir1/filename" which is encoded as "dir1%2Fsubdir1%2Ffilename" while calling the API giving a 400 Bad Request error.
Content (required):
VBCS encodes the path parameter. In my case in encodes / to %2F. The REST call it makes is /n/namespace/b/bucket/o/dir1%2Fsubdir1%2Ffilename. While testing in the service connection if we pass the objectName as "dir1/subdir1/filename" it works fine but if we give the encoded value "dir1%2Fsubdir1%2Ffilename" it gives 400 Bad Request error.