#webhook sender using C++

86 messages ยท Page 1 of 1 (latest)

ruby wing
#

how would I send a message to a webhook in c++

lilac kernel
formal scarab
lilac kernel
ruby wing
formal scarab
ruby wing
#

ok this is like my first time working with something external from visual studio deafults how would I add it to my project

formal scarab
ruby wing
#

how

formal scarab
#

or at least thats the easiest way

#

google vcpkg

#

and might even yt

ruby wing
#

this one right

formal scarab
#

yeah ig

#

never been to their site lmao

ruby wing
#

alr gimme a sec to install it

#

we good?

#

wait can I js use nuget

#

alr ye ye I got it @formal scarab

formal scarab
#

bro

#

tf did you install

#

i said vcpkg

#

that says vctl

ruby wing
#

ye

#

i got it its chill

#

๐Ÿ˜ญ

formal scarab
#

aight then just follow the docs

ruby wing
#

aigh

#

I wanna do a post request right?

formal scarab
#

uhhh

#

idk how webhooks work

#

you on your own

ruby wing
#

I have 178 errors ๐Ÿ’€

formal scarab
#

you have to switch to cpp 17

#

nice vs theme btw

ruby wing
ruby wing
formal scarab
#

and then go to properties

#

and then in C/C++ tab

#

general tab i belive, theres a version thingyh

#

set it to cpp 17

ruby wing
#

theres no properties

formal scarab
#

nop

#

wait

#

in your sln explorer

ruby wing
#

uhhh how u get there

formal scarab
#

or just

ruby wing
#

sorry like im totally new

formal scarab
#

you see the project tab at the top

#

click on it

#

and in the menu select properties

ruby wing
#

ohh gotchy

#

then what

#

oh wait

#

i got it

#

how do I change the actual version

formal scarab
#

go to the language tab

#

and then there it says c++ language standard

#

you can select diff versions, select c++ 17

ruby wing
#

wym language

#

oh

#

i see

formal scarab
#

in c++

#

then language

ruby wing
#

ye ye

#

like that?

formal scarab
#

yes

#

apply

#

and then compile

ruby wing
#

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

formal scarab
#

you can only send a json

#

or whatever its written there as content type

lilac kernel
ruby wing
#

oh

lilac kernel
#

The api won't accept your body data as well, it's invalid

ruby wing
#

i might be smart

lilac kernel
#

Take a look at the link i send above

ruby wing
#

alr

#

I got it--- there was some lib called D++ and it has ez webhook intergration thanks for all the help though, I really apperciate it (: