Hello.
I can CREATE in wordpress custom post type use http request.
Question^
How can I update it use http request ?
Hello.
I can CREATE in wordpress custom post type use http request.
Question^
How can I update it use http request ?
Hey @RomanRRR, check out the Wordpress documentation on this: Posts | REST API Handbook | WordPress Developer Resources. Looks like it’s as simple as sending a POST
request to https://example.com/wp-json/wp/v2/posts/<id>
where example.com
is your Wordpress domain and <id>
is the ID of your post. The body would contain the fields to update.