-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
In the example below, in the response of the last request, the title is [Title], when it should be Foo.
### Create subject
POST http://localhost:8888/wp-json/index.php?rest_route=/try-wp/v1/subjects/blog-post
Content-Type: application/json
{
"sourceUrl": "https://foo"
}
###
### Update the title
POST http://localhost:8888/wp-json/index.php?rest_route=/try-wp/v1/subjects/blog-post/{replace_with_id_from_above_response}
Content-Type: application/json
{
"rawTitle": "<h1>Foo</h1>",
"parsedTitle": "Foo"
}
###
### Find the transformed post
GET http://localhost:8888/wp-json/index.php?rest_route=/wp/v2/posts/{replace_with_transformed_id_from_above_response}
Content-Type: application/json
###
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working