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
As per the wp_post function:
try: response = requests.post( f"{wp_post_api}/{post_id}", headers=wp_headers, json=post ) except requests.exceptions as error: print(f"ERROR: post failed: {error}") if response.status_code != requests.codes.ok: print(f"ERROR: post failed w/status code {response.status_code}")
Every use of requests should look more like that.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As per the wp_post function:
Every use of requests should look more like that.
The text was updated successfully, but these errors were encountered: