-
Notifications
You must be signed in to change notification settings - Fork 22
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
Publishing Events on Spond #39
Comments
Managed to get this working. There were two important things to consider. First when publishing events it's necessary to explicitly supply the Second, it was necessary to wrap the data argument to the POST request in Here's the code if anyone is wondering:
|
If you use |
@morkohl If you have some code ready, please submit a PR, so we can try to get it implemented. |
Hi. I'm writing an application that scrapes events from a website and is supposed to publish them to Spond.
I'm having trouble publishing an event on Spond. Maybe someone here was successful doing what I'm trying to do.
I thought I had figured out the payload format but I keep getting 415s.
I double checked the payload format a million times and when executing in curl I can successfully publish an event in Spond. I'm thinking it might be an issue with headers. But judging from the implementation of
send_message()
in this lib I don't see any additional headers that are supposed to be sent when interacting with this API. Anyone got an idea what I'm doing wrong?Once figured out I'd love to contribute to this lib.
payload (resulting from code below)
code
The text was updated successfully, but these errors were encountered: