Download file via an API in Groovy Rule
Summary: What is the location on a local computer while downloading a file via an API in Groovy rule ?
Content (required): I'm trying to download a file from my EPMEnvironment to a local computer via an API interop/rest/v2/files/download calling it in groovy rule. But I don't know where is the location ? And when I search it in my searchtool I don't find.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
HttpResponse<String> jsonResponse7 = operation.application.getConnection("LaunchJob").post()
.body(json(["fileName": "EXPORT_METADATA_PROJET.zip"]))
Tagged:
1