<?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: esriRequest returnes &amp;quot;415 Unsupported media type&amp;quot; with js aspi 4.12 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esrirequest-returnes-quot-415-unsupported-media/m-p/338008#M31253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the&amp;nbsp;&lt;STRONG&gt;query&amp;nbsp;&lt;/STRONG&gt;is being assigned to a string instead of an object.&amp;nbsp;I think you could try setting the&amp;nbsp;&lt;STRONG&gt;body&lt;/STRONG&gt; to a string, or pass an object to the &lt;STRONG&gt;query&lt;/STRONG&gt;. Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2019 23:01:02 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2019-07-16T23:01:02Z</dc:date>
    <item>
      <title>esriRequest returnes "415 Unsupported media type" with js aspi 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esrirequest-returnes-quot-415-unsupported-media/m-p/338007#M31252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After update form 4.11 to 4.12 posting of data stopped to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #333333; background-color: #fdf6e3; font-family: Menlo, Monaco, 'Courier New', monospace; font-weight: normal; font-size: 12px; line-height: 18px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #859900;"&gt;export&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #073642; font-weight: bold;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;postActivityLog&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;activityDTO&lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;ActivityLogDTO&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;Promise&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;any&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #073642; font-weight: bold;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #859900;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;Promise&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;((resolve, reject) &lt;/SPAN&gt;&lt;SPAN style="color: #073642; font-weight: bold;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;esriRequest&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #2aa198;"&gt;`${&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;activityAPI&lt;/SPAN&gt;&lt;SPAN style="color: #2aa198;"&gt;}/activityLog`&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;, {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; method: &lt;/SPAN&gt;&lt;SPAN style="color: #2aa198;"&gt;'post'&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; responseType: &lt;/SPAN&gt;&lt;SPAN style="color: #2aa198;"&gt;'json'&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; query: JSON.&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;stringify&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;activityDTO&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; }).&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;((result&lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;any&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #073642; font-weight: bold;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;resolve&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;result&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; }).&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;catch&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(error &lt;/SPAN&gt;&lt;SPAN style="color: #073642; font-weight: bold;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;reject&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;error&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; }); &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code worked correct in&lt;STRONG&gt; 4.11&lt;/STRONG&gt;, see image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With 4.12 I get:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Status Code: 415 Unsupported Media Type&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none; color: #303942; font-family: '.SFNSDisplay-Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: nowrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Content-Type: application/problem+json; charset=utf-8&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;Form data:&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;OL class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding: 0px 0px 4px; margin: 0px; z-index: 0; position: relative; list-style-type: none; color: #303942; font-family: '.SFNSDisplay-Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;OL class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; list-style-type: none; padding-left: 10px; padding-bottom: 5px; border-bottom: 1px solid #e0e0e0; display: block;"&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;0:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;{&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;1:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;"&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;2:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;a&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;3:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;c&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;4:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;t&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;5:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;i&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;6:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;v&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;7:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;i&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;8:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;t&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;9:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;y&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;10:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;I&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="min-width: 0px; min-height: 12px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: block; align-items: center; padding-left: 5px; line-height: 20px; margin-top: 1px; margin-left: 10px;"&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: #545454; display: inline-block; margin-right: 0.25em; font-weight: bold; vertical-align: top; white-space: pre-wrap;"&gt;11:&lt;/DIV&gt;&lt;SPAN class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; user-select: none;"&gt;&lt;/SPAN&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px;"&gt;d and so on...&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;See image with Network log.&lt;IMG alt="JS API 4.11. Works correct!" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453153_4-11.png" /&gt;&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px !important; display: inline; margin-right: 1em; word-break: break-all; margin-top: 1px; color: #303942; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;IMG alt="JS API 4.12 Does not work!" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453154_4-12.png" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 10:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esrirequest-returnes-quot-415-unsupported-media/m-p/338007#M31252</guid>
      <dc:creator>deleted-user-OOe4JK-9Abnm</dc:creator>
      <dc:date>2019-07-16T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: esriRequest returnes "415 Unsupported media type" with js aspi 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esrirequest-returnes-quot-415-unsupported-media/m-p/338008#M31253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the&amp;nbsp;&lt;STRONG&gt;query&amp;nbsp;&lt;/STRONG&gt;is being assigned to a string instead of an object.&amp;nbsp;I think you could try setting the&amp;nbsp;&lt;STRONG&gt;body&lt;/STRONG&gt; to a string, or pass an object to the &lt;STRONG&gt;query&lt;/STRONG&gt;. Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 23:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esrirequest-returnes-quot-415-unsupported-media/m-p/338008#M31253</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-07-16T23:01:02Z</dc:date>
    </item>
  </channel>
</rss>

