## How to set the post permalink using the WordPress REST API?

Question

When fetching the posts, I can access the link property which represents the full post link.

But when creating a post, what is the way to set that permalink value?

Setting the slug does not seem to work since I would like to set a permalink like /foo/bar/post-slug.

0
2 years 2019-10-30T06:05:18-05:00 0 Answers 57 views 0