Hi everyone!
I would like to send a file in the request, not from client, but directly from server. Is it possible?
<SPAN class="token function">request</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"https://www.arcgis.com/sharing/rest/content/features/generate"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="punctuation token">{</SPAN>
query<SPAN class="punctuation token">:</SPAN> myContent<SPAN class="punctuation token">,</SPAN>
body<SPAN class="punctuation token">:</SPAN> myFile<SPAN class="punctuation token">,</SPAN> <SPAN class="comment token">// handle to file from server</SPAN>
responseType<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"json"</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>