I want to make my own GPTs to modify through REST API my WordPress page, and I don’t know how to do it. There is a Schema section, and I don’t know what code to put there since the one I put from wordpress doesn’t work. I saw that someone in a facebook post was able to do it wrote something in their GPT and it automatically generated the content on their website.
I have put the following schema but it gives me error:
POST myweb. com/wp-json/wp/v2/posts
Headers:
Authorization: Basic MyUserAndPasswordBase64
Content-Type: application/json
Body:
{
“title”: “Título del Post”,
“content”: “Contenido del post.”,
“status”: “publish”
}
Would you be interested in writing up a how-to or guide for doing so? I’m sure many members would be thankful. If you don’t have the time, no worries. Hope you stick around, though. We’ve got a great community going here.