Skip to main content
Question

Httpcaller in Automations encodes URL that's already encoded

  • March 5, 2021
  • 1 reply
  • 56 views

Forum|alt.badge.img

I was using Httpcaller for an automation but I could not get it to work. The URL to the service I wanted to use worked fine in the browser but when my automation ran, it resulted in an error from the service saying "invalid URL". It turned out that my URL contained spaces that was encoded as %20 wich the Httpcaller encoded in turn to %2520. Replacing %20 with a space in the Httpcaller solved the problem. Is this desired behaviour?

I'd excpect the Httpcaller to understand not to encode an URL that is already encoded.

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+54

If I remember correctly the HTTPCaller did no url encoding in earlier versions which caused issues for users. This was fixed later so I believe this is expected behaviour.

 

Edit: We checked with an encoded url and it just works fine, using desktop 2019.1.2. Does it work for you in desktop but not in server? What fme version?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings