Skip to content
New issue

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

Is it possible to set alt_text when uploading an image? #16

Open
orimarti opened this issue Feb 21, 2021 · 0 comments
Open

Is it possible to set alt_text when uploading an image? #16

orimarti opened this issue Feb 21, 2021 · 0 comments

Comments

@orimarti
Copy link

orimarti commented Feb 21, 2021

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant