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
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
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
Are you asking for a plugin/mod that does this, or are you a developer and asking how to code this?
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
SpigotMC - High Performance Minecraft
HTTP Requests
I personally haven’t used it
But looks fine
does that have fabric support?
This is a spigot plugin so no
Will work on paper
do you know of a fabric equivlant?
Nope
why do you need to send post requests?
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
You could just have discord integration and have it ping u
<@{discord-id}>
(I think that’s the format, idk been a while)