mockoon-cli does not return response body #1107
-
Hi, I an using mockoon-cli docker image with this command OS = Ubuntu 22.04.2 LTS The mockoon-cli starts successfully and the routes end-points I configured in the provided mockoon file are reachable (I used the desktop mockoon applicaiton to design my routes).
The problem is that the response body are empty and I don't understand why? Also, if I only request headers ( For information, everything works fine if i use the Desktop mockoon application: both response body and headers are well returned. Did you ever face this issue? Thank you very much for your help Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Hi, This sounds strange as the CLI is "just" a wrapper around Mockoon's core which is shared between the two apps. What works in the desktop app should work in the CLI too. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi Guillaume, I sent to you a gzip file because I cannot attach a json file directly in the github HMI. What i did is :
The expected response should be
But it returns nothing.
The expected response should display all the headers:
But it only returns some default headers
Hope it can help you. |
Beta Was this translation helpful? Give feedback.
Hi Guillaume,
I sent to you a gzip file because I cannot attach a json file directly in the github HMI.
Did you receive the gzipo file and did you managed to gunzip it?
What i did is :
The expected response should be
But it returns nothing.
The expected response shou…