wp-api-python icon indicating copy to clipboard operation
wp-api-python copied to clipboard

Is it possible to set alt_text when uploading an image?

Open orimarti opened this issue 4 years ago • 0 comments

Hello, I've seen your example on how to upload an image and it works for me, but I don't understand if it's possible to put for example other headers (for example alt_text) as specified here: https://developer.wordpress.org/rest-api/reference/media/#create-a-media-item You're putting the binary data inside the data field, so I don't know how could I add this fields on this param.

Thanks,

orimarti avatar Feb 21 '21 11:02 orimarti