how can I use api for python #17280
Unanswered
yuzhangqin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use python to online a workflow
my code:
if test_def["releaseState"] != "ONLINE":
release_url = (
f"{API_BASE}/projects/{PROJECT_CODE}"
"/process-definition/release-process-definition"
)
r2 = requests.put(
release_url,
headers=headers,
params={"processDefinitionCode": code}
)
it's error:
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
so what is correct
Beta Was this translation helpful? Give feedback.
All reactions