Updating existing image using the REST API
-
I can create an image just fine using the REST API, by sending a POST request to …/media. This returns me an entity including a post ID.
I’d like then to send a PATCH request to update the content of the image (not just the metadata). When I do this, however, with
PATCH …/media/<id>
and send another attachment, it accepts the request (returns a 200), but the image doesn’t actually get updated. I’ve tried with another POST too, but get the same result.
Am I missing something? Is there a way of doing this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Updating existing image using the REST API’ is closed to new replies.