James Sherry PRO
Web Development Tutor and Co-Founder of { The Jump } Digital School
How is this possible??
HTTP(S) - HyperText Transfer Protocol (Secure)
FTP - File Transfer Protocol
SMTP - Simple Mail Transfer Protocol (href="mailto: ...")
POP3 - Post Office Protocol
GIT
WS - Web Sockets
SSH - Secure Shell
TEL - Telephone Service (href="tel: ...")
SMS - Short Messaging Service (href="sms: ...")
skype, telnet, IRC, etc. etc.
Defn: A set of conventions governing the treatment and especially the formatting of data in an electronic communications system
[
{
name: 'James',
age: 40,
isDeveloper: true
}
]
[
{
"name": "James",
"age": 40,
"isDeveloper": true
}
]
stringify
parse
Headers are information the transportation layer needs to know about, not your application. (Think 'baggage tags')
Headers contain 'meta' information about the call itself:
Headers can be the standard ones or you can make your own custom ones.
Other famous fake APIs
Example of making a fake API (whilst you're waiting for server-side devs to complete??):
https://github.com/jmsherry/fake-server
By James Sherry
Focussing on HTTP and REST