var axios = require("axios");
var qs = require("qs");
var data = qs.stringify({
type: "minecraft",
host: "play.craftrise.com.tr",
});
var config = {
method: "post",
url: "http://localhost/api",
headers: {
Accept: "application/json",
"Content-Type": "application/x-www-form-urlencoded",
},
data: data,
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
POST /api
- Form Data
Parameter | Type | Description |
---|---|---|
type |
string |
Server ID in game_list.txt |
Parameter | Type | Description |
---|---|---|
host |
string , |
Server ip address |
Server: Node, Express, Gamedig
- ✨ Destek İçin
- 💕 Discord
- 🎖️ FasterHost Technology
- ✨ İletişim için Tıkla!
- Its protected by Creative Commons (CC BY-NC-SA 4.0)