Skip to content
This repository was archived by the owner on Feb 26, 2022. It is now read-only.

Conversation

@crgeary
Copy link
Owner

@crgeary crgeary commented Aug 8, 2020

Allow POST requests to include a JSON payload. These requests contain a small amount of information about the action that was taken on the WordPress site.

For example, a post/page update might include:

{
  "action": "post_status_transition",
  "data": {
    "id": 1,
    "status": "publish"
  }
}

Solves #40

@nickdbush
Copy link

This would be doubly as helpful, as not only would it allow rebuilding the site on publish, but flushing caches as well. Would love to see this soon in the next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants