Skip to main content
Question

Call @Http Function with Function Caller?

  • November 7, 2017
  • 3 replies
  • 8 views

Forum|alt.badge.img

Hi,

I wonder how can I call @Http function with the FunctionCaller transformer?

The reason is that HTTPCaller does not support specifying proxy server directly, but the @Http function seems like it supports custom proxy setting.

Thanks,

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • November 7, 2017

Have you tried setting the proxy in Tools > FME Options? I'm about 75% certain the HTTPCaller would pick up that info and use it.


Forum|alt.badge.img
  • Author
  • 43 replies
  • November 7, 2017

Have you tried setting the proxy in Tools > FME Options? I'm about 75% certain the HTTPCaller would pick up that info and use it.

@Mark2AtSate Yes, it will work. However, suppose we have DMZ environment, where only certain workspace/transformer is allowed to access proxy. There is such setting in FTPCaller as FTP Proxy, why not add per-HTTPCaller proxy setting? I am about 100% certain that underlying curl library supports it.

 


david_r
Celebrity
  • 8394 replies
  • November 7, 2017

Hi Mark, I can confirm that the proxy settings in FME Options is used, but unfortunately there still exists some proxy settings that aren't supported by the HTTPCaller, notably domain exceptions with wildcards.

I have to rewrite HTTPCaller functionality in Python to work around those specific cases. Fortunately they're relatively unusual.