I do it using the following API endpoint:
http://<host>/fmerest/v3/resources/connections/<resource>/filesys/<filename>
Notice the "filesys" part between the resource name and the filename. And I'm also using the following headers:
Authorization: fmetoken token=...
Accept: application/octet-stream
Note that I do not put the token in the URL.
Hi @tiagocnorberto,
The REST API training manual is a good place to start with FME Server REST.
Hope this helps,
Itay
I do it using the following API endpoint:
http://<host>/fmerest/v3/resources/connections/<resource>/filesys/<filename>
Notice the "filesys" part between the resource name and the filename. And I'm also using the following headers:
Authorization: fmetoken token=...
Accept: application/octet-stream
Note that I do not put the token in the URL.
More details in the API documentation: https://docs.safe.com/fme/html/FME_REST/apidoc/v3/#!/resources/download_get_9
Hi @tiagocnorberto
I agree with @itay and @david_r.
The API documentation and the REST API training manual are very interesting to help in this case.
Please, tell us the solution or not your Question.
Thanks,
Danilo