Mock file download #758
Unanswered
marcin-brzozowski
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey @marcin-brzozowski, Sorry for the delay in this response (was very busy those last weeks). Currently, we do not support Let me know. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been going through the Internet and cannot find an example of how to configure Microcks to e.g. mock file download with some dummy data. I have hosted sample file via Nginx server that is accessible to Microcks via http://contracts-repository:8081.
I run Microcks inside docker. When I try to download the
sample.zip
file from inside the Microcks container (e.g.curl -X GET http://contracts-repository:8081/sample.zip
) then it works perfectly fine. So Microcks has access to this resource.Microcks version: 1.6.1
Below, you can find a sample OpenAPI document that I use:
However, when I try to download the file from my mock endpoint, I get the the following Exception in Microcks:
Beta Was this translation helpful? Give feedback.
All reactions