postmark-wordpress icon indicating copy to clipboard operation
postmark-wordpress copied to clipboard

Rest API

Open bhubbard opened this issue 7 years ago • 1 comments

It would be great to have rest api endpoints for each of the webhooks needed in Postmark. This could allow the site to handle the actions as it sees best.

bhubbard avatar Jul 25 '17 20:07 bhubbard

@pgraham3 I started a branch to look into creating a Rest Api for the plugin. You can view the branch here: https://github.com/bhubbard/postmark-wordpress/tree/32-rest-api-support

I started to look into authentication, and wanted to use the application password feature in WordPress which is basic auth, however I noticed in Postmark it appears there is no way for the inbound webhook to provide custom headers and basic auth like there is for the webhook endpoint tool. Thoughts or Suggestions?

bhubbard avatar Jun 09 '22 23:06 bhubbard