Problem With Automatic Update Checker for My Plugin

Hello, fellow devs! I am trying to create a plugin to help give positive comments and support devs while creating games! I want to create an update checker so that devs can notice that the plugin is out of date and update the plguin. I tried doing this with HTTPService but nothing happens. No errors, no output, nothing. However, I am extremely new to hosting a web server and HTTPService so I think that is the problem. The web server I use to host is Heroku. (Yes, I used a tutorial cause I am an obvious noob at hosting web apps and HTTPService.) Thanks for any help!

Web App Code:

const express = require('express');
const app = express()

app.get('/1.0', function(request, response) {
   console.log("My get function actually works. Sending version...");
   response.send('1.0');
});

app.listen(3000,function(){
    console.log("App listening on port 3000...")
});

Plugin Code (P1)

pluginButton.Click:Connect(function()
	if Opened then
		widget.Enabled = false
		Opened = false
	else
		widget.Enabled = true
		Opened = true
		script.Parent.UpdateCheckEvent:FireServer()
	end
end)

Plugin Code (P2)

local HTTPService = game:GetService("HttpService")

function test()
	local url = "https://support-updater.herokuapp.com/" 
	local request = HTTPService:PostAsync(url, "/1.0", Enum.HttpContentType.TextPlain)
	print(request)
end

script.Parent.UpdateCheckEvent.OnServerEvent:Connect(function()
	print("Fired!")
	test()
end)

I am not a web developer, but are you sure you didn’t mean GetAsync ?

1 Like

I tried GetAsync but nothing was printed which is a problem because of the print() I included in the function.