Send Post requests ingame

does anyone know how to send POST requests from the game... preferably with a command fabric/spigot (need both) https://www.reddit.com/r/admincraft/comments/tw9fcs/send_get_or_post_requests_to_a_web_server_from_a/ https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST
reddit
POST - HTTP | MDN
The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.
12 Replies
Admincraft Meta
Thanks for asking your question!
Once you have finished, please close your thread. Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close !close !solved
Requested by namelessnanashi#0
QarthO
QarthO2y ago
Are you asking for a plugin/mod that does this, or are you a developer and asking how to code this?
Nanashi (ななし)
im asking for a mod and a plugin, one for my paper 1.19.4 server and one for my fabric 1.19.4 client i thought badpackets might have that fnctionality but it doesnt
QarthO
QarthO2y ago
I personally haven’t used it But looks fine
Nanashi (ななし)
does that have fabric support?
QarthO
QarthO2y ago
This is a spigot plugin so no Will work on paper
Nanashi (ななし)
do you know of a fabric equivlant?
QarthO
QarthO2y ago
Nope
Lunaiskey
Lunaiskey2y ago
why do you need to send post requests?
Nanashi (ななし)
I use Carpet to accelerate the game speed to make more time pass than normal, and I want to use the Pushover notification API to alert me when it's done. https://pushover.net/ https://pushover.net/api#messages
QarthO
QarthO2y ago
You could just have discord integration and have it ping u <@{discord-id}> (I think that’s the format, idk been a while)

Did you find this page helpful?