How to retrieve posts by category or categories headless wordpress

Question

I am new to wordpress. I have quite a few questions about headless wordpress. I have seen the documentation of wordpress Rest API Handbook. Its pretty clear how to get posts. However,

  1. How to retrieve posts by category in headless wordpress
  2. How to create new post using create post Endpoint

Any help will be appreciated.

0
Qasim Ali 4 months 0 Answers 15 views 0

Leave an answer