<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change Http.Request Content Type header in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564827#M66575</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;There's no way to currently change that header data, but I'll add a case to the dev list to add a property for header data.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 25 Jan 2021 16:47:25 GMT</pubDate>
    <dc:creator>philboboADSK</dc:creator>
    <dc:date>2021-01-25T16:47:25Z</dc:date>
    <item>
      <title>Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564826#M66574</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I'm, trying to send a POST request with JSON data using the Http.Request API. I'm able to hit my own server from Flexsim, but I get back a 502. On the server end, its failing to read the request because it default content type send by the Flexsim Http Request is&lt;/P&gt;
 &lt;PRE&gt;'content-type': 'application/x-www-form-urlencoded'&lt;/PRE&gt;
 &lt;P&gt;Is there a way to change this header to 'application/json'? The docs don't seem to list anything obvious.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2021 20:38:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564826#M66574</guid>
      <dc:creator>shuo_c2</dc:creator>
      <dc:date>2021-01-21T20:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564827#M66575</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;There's no way to currently change that header data, but I'll add a case to the dev list to add a property for header data.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Jan 2021 16:47:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564827#M66575</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2021-01-25T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564828#M66576</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Is there any progress on this issue? One of our client needs to do PUT requests with custom headers (Content-Type, Accept). Unfortunately, it is still not possible in Flexscript API.&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Feb 2022 14:02:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564828#M66576</guid>
      <dc:creator>sastanin</dc:creator>
      <dc:date>2022-02-23T14:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564829#M66577</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I will increase the priority on the card and try to work on this for FlexSim 22.1.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Feb 2022 17:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564829#M66577</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2022-02-23T17:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564830#M66578</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Feb 2022 08:27:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564830#M66578</guid>
      <dc:creator>sastanin</dc:creator>
      <dc:date>2022-02-25T08:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564831#M66579</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi, BoBo, can I change the header to &lt;SPAN id="isPasted" style="color: rgb(51, 51, 51); font-family: "&gt;'application/json' now? and my flexsim version is 21.2.4.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2023 09:07:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564831#M66579</guid>
      <dc:creator>yexioamu</dc:creator>
      <dc:date>2023-03-23T09:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564832#M66580</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;The headers property was added to Http.Request in FlexSim 22.1.0. You need to use that version or newer to access it.&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:47:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564832#M66580</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2023-03-23T13:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564833#M66581</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(51, 51, 51); font-family: "&gt;Thank for your answer, i tried the request.headers you suggested in the version 23.05 by using PF, it works well! But due to my company software purchase policy, i can't upgrade my FlexSim version quickly, does it possible that achieve it in version 21.2.4, or can i achieve it by using DLL function? If it is possible, can i get some references from anywhere?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2023 13:54:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564833#M66581</guid>
      <dc:creator>yexioamu</dc:creator>
      <dc:date>2023-03-23T13:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Http.Request Content Type header</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564834#M66582</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A href="https://answers.flexsim.com/comments/139057/view.html"&gt;https://answers.flexsim.com/comments/139057/view.html&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2023 14:20:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/change-http-request-content-type-header/m-p/13564834#M66582</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2023-03-23T14:20:57Z</dc:date>
    </item>
  </channel>
</rss>

