Message from @Undead Mockingbird
Discord ID: 508460918884270082
the VS update is 2 gigs
yeah
Maybe you can avoid the update.
i could have but i clicked update
I'd also be interested if I can use that same library under Mac OS in VS Code.
what do people use to develop on Linux?
omg
Discord API memes are amazing
lmfao
lol
You can install a package from NPM if you want to use JS.
Funny meme, though.
The entire API is in REST, so you can use whatever you like, even just CURL.
idk what those mean
Dang, that VS update is huge.
REST means that you communicate with the server through basic HTTP messages.
:0
For example, to post a message to a Discord channel, you can just send a bunch of plain text through HTTP to the endpoint/URL and that's it.
o
All your credentials are passed as URL parameters, etc.
ohhh
kinda like how on some sites you can fill in say for example a text box with content at the same time youre loading the page by passing it through the URL?
So, if I had an REST endpoint, a fictional one, you could browser the URL https://api.mockingbird.com/latestupdate
Your browser would send an HTTP GET request, which is the same it does to retrieve the website of a regular web server.
But, instead of sending back HTML that your browser would display, it send you back the latest update of some news site, for example, or a MotD.
what do you mean an endpoint
An endpoint is like an URL for an API.
For example, the fictional URL above would be the endpoint for my fictional REST API.
Or, to take the example of Gab, or Minds, they have an endpoint for their API, too.
heh pewdiepie got shapiro to do bonus meme
For example, when I make a post to Minds, what my browser actually does is this:
i feel like i get the vague implications of what youre saying but it's all just a blur
It will send the server www.minds.com an HTTP POST to the URL https://www.minds.com/api/v1/newsfeed.
And this is the payload of the request, in a format called JSON, but it could be anything.
oooh i know JSON, that's what Minecraft uses lol
Then, the server sends me back a reply indicating the status of my request, like this.