Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Issues with HttpService/Trello Script?

No idea what is wrong with this code, basically, it is supposed to fire the code to Trello and create a card in Trello, yet this is obviously not happening. If it were I would not be asking. Anyway, below is the code, the answer to my problems may be simple syntax, but I'm guessing not.

function Post()
	game:service'HttpService':PostAsync("https://api.trello.com/1/cards?key=TRELLOPRIVATEKEY&name="..game.StarterGui.ScreenGui.TextButton.Text.."&desc="..game.StarterGui.ScreenGui.TextButton.Text.."&idList=54ced89279be90b6798d8648",game.HttpService:JSONEncode({"true"}))
end

script.Parent.MouseButton1Down:connect(Post)

1 answer

It could be an issue with key=TRELLOPRIVATEKEY on line 2, you might not be putting in the key correctly, or you need to use httpservice to urlencode it if it's got special characters that can't be used.

1 comment

0

I'm assuming you replaced key=TRELLOPRIVATEKEY with the key provided by trello's website. If not, you might need to consult google to figure out where to find this trello key. Let me know if you figure something out, I love to use trello.

This discussion is preserved as it was. New answers, comments, and votes are closed.