Request: URL or URI Input
Closed this issue · 2 comments
xombiemike commented
I would like to send the bot commands via URL or URI from inside another program. How would I do this?
georgefrick commented
You can post to the host URL. When the bot host is running it also runs a web application port :8080 where you can control it. You can look at how those POST commands are done, or look in the file https://github.com/Darkside138/DiscordSoundboard/blob/master/src/main/java/net/dirtydeeds/discordsoundboard/web/SoundboardRestController.java
to see what urls can be posted to.
Darkside138 commented
It's also running swagger UI that documents the REST API.
…On Thu, Mar 30, 2017, 8:38 PM George Frick ***@***.***> wrote:
You can post to the host URL. When the bot host is running it also runs a
web application port :8080 where you can control it. You can look at how
those POST commands are done, or look in the file
https://github.com/Darkside138/DiscordSoundboard/blob/master/src/main/java/net/dirtydeeds/discordsoundboard/web/SoundboardRestController.java
to see what urls can be posted to.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABH_l09lPvTR-V6MVMA-aiYmbjyTKMuaks5rrFj3gaJpZM4MpQmc>
.