Message from @Vesdii

Discord ID: 508467145248735232


2018-11-04 02:19:17 UTC  

lol that's basically exactly what you said

2018-11-04 02:19:22 UTC  

i'm just fucking thick

2018-11-04 02:19:59 UTC  

i need some cbd oil

2018-11-04 02:20:12 UTC  

yup

2018-11-04 02:21:57 UTC  

Well, not that particular page. That is HTML, but a lot of content is basically just JSON and some JS on your web browser will put it in the right place on the web page. It's not necessarily static content anymore, like in the Web 1.0 days.

2018-11-04 02:23:04 UTC  

It's kind of like abusing the postal service. Let's say you invented a secret convention with a friend, according to which you don't send them any letter (the content) necessarily, but encode what he's supposed to do in the sender address (the URL).

2018-11-04 02:23:31 UTC  

wut

2018-11-04 02:23:35 UTC  

You write something on the envelope, and it will still be delivered, but your friend will take the street address to mean a password, for example.

2018-11-04 02:23:46 UTC  

this is too meta :^)

2018-11-04 02:24:14 UTC  

REST kind of does the same. It uses URLs, which used to denote directories as function parameters.

2018-11-04 02:24:52 UTC  

For example, a REST API could return 30 for https://api.adder.com/10/20

2018-11-04 02:25:04 UTC  

Let me give you another example. HOld on.

2018-11-04 02:25:14 UTC  

THIS ISNT HELPING JUST ***STOP***

2018-11-04 02:25:30 UTC  

github url is also a good example of that tho:^)

2018-11-04 02:25:48 UTC  

i stopped paying attention or caring after i started crying a few minutes ago so fugghetabahtit

2018-11-04 02:25:49 UTC  

just returns html template instead of json

2018-11-04 02:26:02 UTC  

pls don't cry

2018-11-04 02:26:07 UTC  

For example, enter this URL in your browser.

http://wttr.in/

2018-11-04 02:26:10 UTC  

lol not directly about this

2018-11-04 02:26:44 UTC  

and now run this from a terminal:

> curl https://wttr.in

2018-11-04 02:26:54 UTC  

i just cry randomly because i'm no longer able to hold down the deep fears and hatred of myself after a while

2018-11-04 02:26:54 UTC  

It will return the current weather for your location as text.

2018-11-04 02:27:02 UTC  

undead

2018-11-04 02:27:03 UTC  

hush

2018-11-04 02:27:07 UTC  

it's over

2018-11-04 02:27:23 UTC  

https://wttr.in/tehran will return weather for Tehran, Iran.

2018-11-04 02:27:32 UTC  

doesn't sound fun ;~;

2018-11-04 02:27:48 UTC  

Oh.

2018-11-04 02:27:53 UTC  

I thought we were having fun.

2018-11-04 02:27:57 UTC  

welp

2018-11-04 02:27:59 UTC  

¯\_(ツ)_/¯

2018-11-04 02:28:35 UTC  

I was about to show a really cool example of a REST API, but I think I should just get back to my flash cards.

2018-11-04 02:38:13 UTC  

yeah i cried two days in a row at work last week

2018-11-04 02:39:27 UTC  

hard to be inconspicuous about it when theres someone sitting right behind me most of the time lol

2018-11-04 02:51:33 UTC  

https://cdn.discordapp.com/attachments/463054787336732683/508473350448873475/partyblob.gif

2018-11-04 02:51:47 UTC  

i'm fine, life is fine

2018-11-04 02:52:28 UTC  

hello, do you have about 45 minutes to talk about

https://cdn.discordapp.com/attachments/463054787336732683/508473579998937090/radical_islam.jpg

2018-11-04 03:15:35 UTC  

biden being a creep is the perfect time to bring back uncle biden memes

2018-11-04 03:23:41 UTC  

Ur pfp is racist you bigot

2018-11-04 03:34:03 UTC  

Blizzcon 2018