Http request isn't being sent

client:

script.Parent.MouseButton1Click:Connect(function()
	local app = script.Parent.Parent.TextBox.Text
	game.ReplicatedStorage.RemoteEvent:FireServer(app)
end)

server:

local https = game:GetService("HttpService")
local url = yes
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(app)
local message = 	{
	["embeds"] = {{
		["title"] = "Application";
		["Description"] = "@bloodbonnieking#2626", app;
	}}
	}
	end)

no errors, the webhook does exist. no message.

Are you firing the the message with HttpService:PostAsync()?

i am sorry i’m dumb i completely forgor

added this, doesn’t work

	local sent = https:JSONEncode(message)
	https:PostAsync(url, sent)

Do you have Https Requests enabled?

yes i do. this is really weird

(post has been removed by author)

1 Like

using hyra as a proxy lol
30cars

getting this after a few sec:

HTTP 400 (Bad Request)

Presumably, you could modify the parameters passed to the RBXScriptConnection with OnServerEvent fired. The first param is the player who fired the event, and the arguments param is the post-transmission data.

OnServerEvent:Connect(player : Player, arguments : Tuple)

It should be like this:

game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(player, app)
1 Like

ok done that but it only shows the title “application”
stopped working again

worked and stopped. plus it didn’t show the description

I reckon this breaks the description field in the embed since it accepts a string and not a tuple.
You can concatenate the app parameter as the example did below.

["Description"] = "@bloodbonnieking#2626" .. app;
1 Like

ok but uhhhh
image

Eventually, the Description key in the table has its first letter capitalized, whereas it should be lowercase “d” I couldn’t see it staying silent there, lol. Maybe change it, and it will work?

["description"] = "@bloodbonnieking#2626" .. app;

Have a good day, btw.

i swear if that’s all i will go insane ARE YTOU FEWQUIGEWEW
FEWewfewafewqfewfeq

1 Like