Question Alexander Grishkan · Sep 20, 2019

eFax

I am having trouble sending URL encoded payload to eFax in FormData. Does anyone have experience working with the eFax? Their support is not the greatest.

This is what I am trying to send

s rObj.ContentType="application/x-www-form-urlencoded"

d rObj.InsertFormData("id", "123456789")

d rObj.InsertFormData("xml", $zcvt(filestring,"O","URL"))

Any suggestion would be greatly appreciated. 

Comments

Alexander Grishkan  Oct 23, 2019 to Heloisa Ramalho

Thank you very much for commenting. The issue has been resolved.
 

0
Eduard Lebedyuk · Oct 23, 2019

What error are you getting?

The part of the code you've shown looks correct, except you don't need to call $zcvt, %Net.HttpRequest does that for you..

0
Alexander Grishkan  Oct 23, 2019 to Eduard Lebedyuk

Thank you very much for commenting. The issue has been resolved.

0
Alexander Grishkan · Oct 23, 2019

The issue was not in the code but with credentials provided by eFax.  The code is working fine now. Will check Eduard's suggestion to drop the $zcvt()

0