Problems with set_active #134
-
I tried following one of the examples: continuousprint/api_examples/example.py Lines 11 to 16 in 3cc8306 I'd get a 200 response, but no change and no logs. It wasn't until I sent the string This worked: requests.post(octoprintOrigin + '/plugin/continuousprint/set_active', data={ 'active': 'true' }, headers={"X-Api-Key": apiKey}) But this didn't: requests.post(octoprintOrigin + '/plugin/continuousprint/set_active', data={ 'active': True }, headers={"X-Api-Key": apiKey}) I just wanted to understand if I'm missing something / document working around this issue. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Huh no, that definitely sounds like a bug to me. I converted this to an issue (see #135) and will investigate a bit. |
Beta Was this translation helpful? Give feedback.
Huh no, that definitely sounds like a bug to me. I converted this to an issue (see #135) and will investigate a bit.