Hi there.
I previously asked how I'd fix a problem, and someone told me to use raw json. I did that, but now I can't use variables, and they are essential to my code. Also, if I encode the JSON, I can't embed. So I'm stuck in an either or.
Recommended code:
local message = [[{
"username":"hi",
"content": "yo",
"embeds": [{
"description": "hii",
"title": "hiii",
"fields":[
{"name":"hiiii", "value":"hiiiii"},
{"name":"hiiiiii", "value":"hiiiiiii"}
]
}]
}]]
game:GetService('HttpService'):PostAsync("webhook.com", message, Enum.HttpContentType.ApplicationJson)
OK, and then I tried this: ``{"name":"Quick user link:","value":..UL1..UL1B..UL2},
and it gave me a HTTP 404 Bad Request.
I'd like to be able to use these variables since standard messages just dont cut it for error reporting.
Thanks for the guy who helped me, but now I need this problem
Any help would be greatly apprechiated!
Thanks.
