Download an artifact with Java #129410
Unanswered
DemoAccount112
asked this question in
API and Webhooks
Replies: 1 comment
-
I am getting this response: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi, i want to download artifact from my completed workflow run. I read this docs and followed what is said here.
When i use chrome or curl, with valid request headers, i am able to download artifact in a zip format, but when i want to use Spring i cannot download this, could anyone please help?
Here is my code:
`java
public class Main {
private static final String GITHUB_API_URL = "https://api.github.com/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip";
}
`
Beta Was this translation helpful? Give feedback.
All reactions