Closed petarmra closed 2 years ago
curl is confused by the " and ' in your terminal .. the likely bug: Windows 11. if you delete that and install a proper OS, it might work;)
I don't that it's that. I tried outside of Win11 as well and everywhere I get errors pertaining to the JSON format. For instance here: https://reqbin.com/curl
Do you perhaps have a working curl publish command which works on your side?
the errors are coming from curl command line parsing, it fails to parse your command line in your (windows) terminal
but here is an old example: https://github.com/crossbario/crossbar-examples/tree/master/rest/caller , which I dug out using find ~/scm/crossbario/crossbar-examples/ -name "Makefile" -exec grep -Hi "curl" {} \;
..
I am trying to publish to my Crossbar.io Websocket server using the HTTP Bridge Publisher via win11 cmd curl. This is my command:
my config.json
This is the error I get:
I am not sure but maybe the instructions are outdated and my JSON format is not correct. Does anyone have experience with it?