0

I'm using JWT Authentication for WP REST API plugin and WP REST API Controller plugin

Take this rest api for example, it's an api for this post, and here's the media

I understand everything about it, except how to upload media?

The id is created automatically, do I have to save it and hit the media endpoint? Or is there a simpler way? Is there any example?

  • Have you tried multiple requests? I'm not sure that bulk uploading is possible in a single request, the non-REST uploaders don't even do that – Tom J Nowell Jun 8 '18 at 0:09
  • @TomJNowell I haven't, tomorrow I will and will let you know – Lynob Jun 8 '18 at 0:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.