#webhook sender using C++
86 messages ยท Page 1 of 1 (latest)
Take a look at curl and https://discord.com/developers/docs/resources/webhook
if curl is hard, which probably is, use CPR which is a wrapper for curl that makes it like the python module requests
never head of that but i will take a look at it
do you mind helping me a lil more for this im new
uhh idk if it can actually be called a wrapper but yeah
ok this is like my first time working with something external from visual studio deafults how would I add it to my project
no its fine
you gotta install vcpkg
how
this one right
alr gimme a sec to install it
we good?
wait can I js use nuget
alr ye ye I got it @formal scarab
aight then just follow the docs
I have 178 errors ๐
ty
how I do that this my second day
right click on your project
and then go to properties
and then in C/C++ tab
general tab i belive, theres a version thingyh
set it to cpp 17
theres no properties
uhhh how u get there
or just
sorry like im totally new
you see the project tab at the top
click on it
and in the menu select properties
go to the language tab
and then there it says c++ language standard
you can select diff versions, select c++ 17
alr
okay yeah, I got all of it working, but Im kinda lost I used the "url" and just put the webhook in it (I dont really care if anyone has the webhook so its wtv im not gonna blur it), but it doesn't post to the webhook and when it errors
You set the content-type as text/plain and the error message tells you that it does not accept text/plain.
oh
The api won't accept your body data as well, it's invalid
i might be smart
Take a look at the link i send above