Upload image using python and wordpress rest api
-
Hello,
I want to upload an image to my blog using python requests but I got a “broken pipe” error.
I obtained a token for “posts” and “media” by following the procedure in developer.wordpress.com and I can send a post but I cannot upload an image.
Is there some piece of python example to upload an image?
The blog I need help with is: (visible only to logged in users)
-
Hello,
I’m using python requests to post media to my site.
I obtained a token with scope=posts media.
I can post an article but not media.
When I try to post a new media, the connection timeout occurs.
Can someone help please?WP.com: Yes
Jetpack: No
Correct account: Yes -
Hi there,
Apologies, but we can’t help with your issue directly because we don’t host your site on our WordPress.com managed hosting.
To explain, we are a fully managed hosting provider and use a custom server environment that is optimized for WordPress, provides built-in security and performance improvements, as well as in-house support for your site questions.
Because of the way we’ve optimized our service, we also use a customized version of WordPress that is different (under the hood) from what you use at your current provider. As a result, we do not have access to your site and are not familiar with the source of your issue.
The good news is that help is available here at the open-source WordPress forums: https://wordpress.org/support/forum/wp-advanced/
The folks in that forum are more familiar with these kinds of issues and are in the best position to help. Thanks!
- The topic ‘Upload image using python and wordpress rest api’ is closed to new replies.