Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
restapi value shown in variable somehow is different from when endpoint actually invoked in a packag

et4891
Member Posts: 17 Green Ribbon
I have a package which calls a restapi to download a file. The url is getting by refreshing a variable.
In the variable I checked that the url is exactly what is wanted but after the full package runs. An error was given, somehow the url but encoded. I tried using a browser console to decodeURIComponent to confirmed my theory, after it's decoded the url works totally fine.
How can I disable ODI to encodeURI while making a rest call or somehow able to decode it right before the call is made?
I made a text comparison to check the differ values
Left is the value I got after ODI invoked, right is after I copy and decode, and is also the exact copy of the value is ODI variable