We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is the sample code. which i was trying to convert to python, but is showing up POST instead of PATCH
curl 'https://ci.example.com/go/api/agents/adb9540a-b954-4571-9d9b-2f330739d4da' \ -u 'username:password' \ -H 'Accept: application/vnd.go.cd.v4+json' \ -H 'Content-Type: application/json' \ -X PATCH \ -d '{ "hostname": "agent02.example.com", "agent_config_state": "Enabled", "resources": ["Java","Linux"], "environments": ["Dev"] }'
The text was updated successfully, but these errors were encountered:
@NickCarneiro Also add the -v verbose option. whenever we use this option this should output the debug http information.
Sorry, something went wrong.
8d63247
fixed in 1.13.0.
Support for -v is an interesting idea. Right now we don't even print out responses.
-v
@NickCarneiro thanks for the fix.
NickCarneiro
No branches or pull requests
this is the sample code. which i was trying to convert to python, but is showing up POST instead of PATCH
The text was updated successfully, but these errors were encountered: