The home on the web of Colin Walker.
Find out more on /about, say /EHLO, or tune in to the daily RSS feed.
Dec 15, 2021#p3
I'm having some issues with internal webmentions when publishing a post from draft so am having to do some testing, including with Postman, to work out why they aren't going through properly. An email is generated as expected but the endpoint doesn't seem to be pulling out the post content correctly which is preventing the mention being written as a comment.
Here's a test link.
Update: I've fudged a fix. Because internal mentions only show as 'Related Post' (and this only seems to happen on internal mentions) the content isn't needed. So, if the content is empty I just set it to a period. The comment is then saved and the webmention works properly.