<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to WebClient SL Multiple Headers for API Call</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/92054d430c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/92054d430c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/92054d430c/</id><updated>2021-09-10T18:02:49.964000Z</updated><subtitle>Recent posts to WebClient SL Multiple Headers for API Call</subtitle><entry><title>WebClient SL Multiple Headers for API Call</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/92054d430c/?limit=25#ad0f" rel="alternate"/><published>2021-09-10T18:02:49.964000Z</published><updated>2021-09-10T18:02:49.964000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com08db0a8802f3bc7170a93f344664dc35fdd5ae8f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;http spec, &lt;a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2" rel="nofollow"&gt;https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2&lt;/a&gt; refers to this other spec,&lt;br/&gt;
Standard for ARPA Internet Text Messages&lt;br/&gt;
&lt;a href="https://www.ietf.org/rfc/rfc0822.txt" rel="nofollow"&gt;https://www.ietf.org/rfc/rfc0822.txt&lt;/a&gt;&lt;br/&gt;
section 3.1.2&lt;br/&gt;
"a field-name followed by a colon (":"), followed by a&lt;br/&gt;
        field-body, and  terminated  by  a  carriage-return/line-feed."&lt;/p&gt;
&lt;p&gt;so try &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;'field1:body1$r$nfield2:body2$r$n'&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>WebClient SL Multiple Headers for API Call</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/92054d430c/?limit=25#cb25" rel="alternate"/><published>2021-09-10T15:48:29.184000Z</published><updated>2021-09-10T15:48:29.184000Z</updated><author><name>jack-caissey</name><uri>https://forge.codesys.com/u/jack-caissey/</uri></author><id>https://forge.codesys.comf0b1ff14059fabe4bd1b0dcd2f78e3053f8dd525</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to create a webclient SL client which will call an API. However, I need to pass multiple headers to the API, and I am only given one string with which to pass the headers. I am wondering if there is a way of adding multiple strings for headers to the client, or if there is a way of passing multiple headers in just one string.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>