Closed Ashwin2488 closed 3 years ago
Hey @Ashwin2488, Some of the helpers like, code
, inject
, pg
and csv
, require injection to be enabled. Injection is disabled by default and can be enabled by updating config.yml. Could you please confirm if you have enabled injection in your config.yml?
injection:
enable: false
Sorry my bad. Missed the documentation part which says enable injection to make code, inject helpers work.
Describe the bug While trying to test the inbuilt example for code, the response is always empty. Similar issue is seen with inject example where the response is incomplete and look like below
To Reproduce Start the camouflage server and goto
http://localhost:8080/code/inject http://localhost:8080/code
Expected behavior It should return a valid JSON
Desktop (please complete the following information):
OS: MacOS Big Sur Version - 11.6
Node version: 14.17.5