[1.16.5]The Boolean value of the proxy cannot be modified to true using the command provided by wiki.
GaN8373 opened this issue · 4 comments
Issue type:
- ❓ Question
Question:
version:
- IntegratedREST-1.16.5-1.1.3
- IntegratedDynamics-1.16.5-1.8.4
- CommonCapabilities-1.16.5-2.7.0
- CyclopsCore-1.16.5-1.11.6
Command tried:
- curl -X POST -d '{"value":true}' http://localhost:3000/networkElement/integratedrest/http/0
- curl -X POST -d '{"value":true}' http://localhost:3000/networkElement/integrateddynamics/http/0
Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our Discord server.
Your curl
command seems to be throwing CLI arg parsing errors.
Those example commands are for Unix systems, while you seem to be using Windows.
I'm no Windows user myself, but I suspect Windows interprets single-quotes incorrectly.
I would suggest writing the -d
value within double quotes, for which you'll probably have to escape the double quotes within the JSON data block.
Your
curl
command seems to be throwing CLI arg parsing errors.
Those example commands are for Unix systems, while you seem to be using Windows.
I'm no Windows user myself, but I suspect Windows interprets single-quotes incorrectly.
I would suggest writing the-d
value within double quotes, for which you'll probably have to escape the double quotes within the JSON data block.
Thank you, I can use it normally.
But I encountered a problem, @id is different from the MODID pointed to by the command.
The @id of this http proxy is integratedrest/http/0. The instruction needs to point to /integrateddynamics/http/0.
Is the design so?