Request - sending file directly from server

81
0
03-26-2020 04:33 AM
AzariaszTrzciński
New Contributor III

Hi everyone!

I would like to send a file in the request, not from client, but directly from server. Is it possible?

request("https://www.arcgis.com/sharing/rest/content/features/generate", {
query: myContent,
body: myFile, // handle to file from server
responseType: "json"
})
Tags (2)
0 Kudos
0 Replies