AnsweredAssumed Answered

cURL syntax for setting Proxy values

Question asked by fmdataweb on Mar 12, 2018
Latest reply on Mar 12, 2018 by ch0c0halic

I'm converting some code to v16 native code that previously used the BaseElements plug-in to making the HTTP requests. Everything is going well so far and the final change I need to convert relates to setting proxy values. I had previously being using this to set the proxy server settings:

 

BE_HTTP_Set_Proxy ( Settings::ProxyServerAddress ; Settings::ProxyServerPort ; Settings::ProxyServerUsername ; Settings::ProxyServerPassword )

 

and now need to convert this to the new v16 cURL syntax. It looks like proxy commands are supported:

 

FileMaker Pro 16 Help

 

but I can't get my head around how to specify the proxy server address, port number, username and password? Does anyone have an example of how to do this using the new cURL commands in v16?

Outcomes