Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure sending webmentions from mention-tech #32

Open
kevinmarks opened this issue Nov 28, 2015 · 1 comment
Open

failure sending webmentions from mention-tech #32

kevinmarks opened this issue Nov 28, 2015 · 1 comment

Comments

@kevinmarks
Copy link
Contributor

go to http://mention-tech.appspot.com
and put 'http://mention-tech.appspot.com/' in source and 'http://kevinmarks.com/' in target

It verifies the webmention, then calls
'https://webmention.herokuapp.com/api/webmention?source=http%3A%2F%2Fmention-tech.appspot.com%2F&target=http%3A%2F%2Fkevinmarks.com%2F'

and gets '400' {"error":true,"message":"You need to specify both a "source" and a "target" URL"}

@voxpelli
Copy link
Owner

This is because the params should be sent in the body of the POST request, see validation at https://github.com/voxpelli/webpage-webmentions/blob/master/lib/routes/api.js#L429, but let's leave this open to add support for query params as well – no reason they can't be just as accepted, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants