wp-api-v2-client-java
wp-api-v2-client-java copied to clipboard
Fix/Fixed bug in media fetch - was not separating postId and context params correctly
Quite staggering that this is still present.
The endpoint for fetching media for a post is incorrect.
it was
public static final String POST_MEDIAS = "/media?parent={postId}?context={context}";
And is now:
public static final String POST_MEDIAS = "/media?parent={postId}&context={context}";
second ?
changed to &