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. 

0
1 254
Discussion (5)2
Log in or sign up to continue

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

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..

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

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()