NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on September 19, 2013, 06:58:53 AM
-
Hi all,
in documentation I receive for connecting to Revenue Authority it says:
79. To identify which MCV is the sender the following fields must be provided in the http header:
a. TMN - MCV serial number;
b. TMM – MCV hardware version;
c. TSW – MCV software version;
How on earth I could set those http header fields?
Best regards,
Djordje Radovanovic
-
I found in NetWww.clw this:
NetWebClient.GetHeaderField PROCEDURE (string p_Header,long p_count=1) ! Declare Procedure 3
Is there something like SetHeaderField PROCEDURE and if there is no such procedure how to fake it?
Best regareds,
Djordje Radovanovic
-
There's a property, .customHeader I think, into which you can put anything you like.
Cheers
Bruce
-
Is it this one?
p_web.HeaderDetails.HTTP = 'MyHeader: Wahtever:'
Regards
Parker
-
customHeader is what I tried but it was unsuccessful cause I used "=" but JPMacDonald open my eyes with ":".
Now it works and I received different error. ;D.
Thanks JPMacDonald and Bruce for answers.
Best regards,
Djordje Radovanovic