Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter seomat

    (@seomat)

    Thank you very much for your answer!
    Now I try to use this java library https://github.com/Afrozaar/wp-api-v2-client-java to update remotely to WP to add a story. Here is my request:

    final Post post = PostBuilder.aPost()
    .withFormat(“wp_story”)
    .withTitle(TitleBuilder.aTitle().withRendered(“Title”).build())
    .withExcerpt(ExcerptBuilder.anExcerpt().withRendered(“Excerpt”).build())
    .build();

    Here is the error:

    Invalid parameter(s): format

    Can you tell me please what kind of format do I have to fill in withFormat(“???”).

    Best regards,

Viewing 1 replies (of 1 total)