crayfish Posted March 17, 2020 Posted March 17, 2020 Has anyone worked with Websocket APIs and Filemaker Server? I'm interested in connecting FMS to Discord's Websocket API. Is it possible to do this natively? If not, does anyone have suggestions of what I might look into? Thanks!
Wim Decorte Posted March 18, 2020 Posted March 18, 2020 I don't think you can natively because the websocket protocol requires both ends to be in constant listening mode. That's not how FM works. If Discord has webhooks then that's the way to go to capture events or send events. If it doesn't then you can build your own middleware to keep the ws connection open and it can send data to FMS when it receives something and you can send it data as a regular API call so that it can forward it through the ws connection. Perhaps a plugin has the ability.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now