You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From investigation thus far, it proves that the filename; part in Content-Disposition is not populated when using a ByteArrayResource. ByteArrayResource does not override getFileName which returns null by default.
The method to create a media item is:
Wordpress.createMedia(mediaObject:Media, resource:Resource)
This allows for using ByteArrayResource, but an HTTP/400 error response is returned.
The text was updated successfully, but these errors were encountered: