NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on July 15, 2019, 05:30:25 AM
-
Hi,
Just to make sure, when I setup multiple headers in a NetWebClient object, is the following correct?
net.CustomHeader = 'Content-Type: application/json<13><10>Authorization=1234'
Content-Type and Authorization being the two headers to set up.
Thys
-
The NetWebClient has a specific method for the Content-Type header and I'm about 99% sure threre's one for the Authorization. You could use <13,10> instead of <13><10>. Overall, looks ok to me.
Don
-
Thanks Don. I confirmed yesterday that it works correctly this way to add multiple header values.