DEV Community

Understanding the Difference Between APIs and Endpoints

Sospeter Mongare on June 13, 2024

Understanding the Difference Between APIs and Endpoints In the world of software development, particularly in the domain of web services...
Collapse
 
kurealnum profile image
Oscar

Hey, this article appears to have been generated with the assistance of ChatGPT or possibly some other AI tool.

I see that you've added the ai tag to your post, but according to our guidelines, your post is required to either use the tag ABotWroteThis or disclose that the article was AI assisted/generated somewhere in the article itself.

We hope you understand and take care to follow our guidelines going forward.

Collapse
 
pradeep24 profile image
Pradeep

Yeah this is really important,and I hope everyone repects the guidelines and respect every content.

Collapse
 
msnmongare profile image
Sospeter Mongare

Please check and confirm your statment @kurealnum

Collapse
 
heresandyboy profile image
Andy Ainsworth

Very interested to see if anyone ever confused these two things. I had to double take when I saw the title! Next up, 'Understanding the difference between bread and butter'.
Very well written though! Appologies for my sarcasm!

Collapse
 
kitaps profile image
Kitaps

Actually it did for me.
I have been workibg with API's for a while but got a little confused when a coworker started speaking about endpoints.
Had to google it and here I am.

Collapse
 
naime_molla profile image
Md. Naime Molla

Maybe I've read enough articles and blogs to detect whether an article is AI-generated or not. lol. It seems like it's generated by ChatGPT-4o. The summary is great, as gpt-4o does.

Collapse
 
isangedighi_daniel_0d6892 profile image
ISANGEDIGHI DANIEL

Thank you @msnmongare. This really clarifed my confusion.

Collapse
 
msnmongare profile image
Sospeter Mongare

pleasure

Collapse
 
jayhankins profile image
Jay Hankins

No one is asking for this AI-generated junk article. You’re a spammer, it’s gross.

Collapse
 
msnmongare profile image
Sospeter Mongare

Kindly proof it's AI-generated?

Collapse
 
lukus profile image
lukus • Edited

It is AI generated:

"is crucial in tailing the design, development and integration of software to meet an organization’s need through the comprehension of these components of Second Life. "

This sentence literally makes no sense at all.

You should be ashamed of yourself.

Collapse
 
documendous profile image
Documendous

Be nice, don't be a jerk.

Collapse
 
mattjoyce profile image
Matt Joyce

100% Promp Bait.

Collapse
 
msnmongare profile image
Sospeter Mongare

How?

Collapse
 
allanbonadio profile image
Allan Bonadio

Actually, the original definition of an API is any interface between software components, including function calls or classes inside a program in whatever language. So the DOM presents an API to the JS engine that can manipulate the internal objects of the DOM.

WebGL is an API that allows JS running in the browser to do OpenGL calls and draw images with it. OpenGL itself is a lower level API to do the same, called from C, Java and other languages.

WebWorkers is an API that lets you run threads in the browser. WebRTC is an API that can run video communications with another browser. Many packages on the npm registry have their own APIs.

APIs, as this article uses the word, also count as APIs. If you want to refer, specifically, to this kind, you can say "web API".

en.wikipedia.org/wiki/API

Collapse
 
dicker1337 profile image
Roland Rosentreter

Writing an article about an absolutely trivial concept that can be learned with 10s of Googling.

Collapse
 
alexanderwalsh profile image
Alexander Walsh

Very well said with simple indepth analysis

Collapse
 
boby_tiwari_fd03ffa35b156 profile image
Boby Tiwari

💯

Collapse
 
documendous profile image
Documendous

Actually an api is an endpoint. And endpoints can be considered as api's.

Collapse
 
redstonescooter profile image
Sadra Nezamodin

Very nice article however what i would suggest is that you shove the line fucntion up your ass since that would be a better use of my time because i would not be baited by this kind of dog shit again

Collapse
 
acidop profile image
Zeeshan 🎖 • Edited

I have no clue why this AI written blog is so trending while there are other high quality articles in dev.to itself which do not perform so well

Collapse
 
jangelodev profile image
João Angelo

Top, very nice !
Thanks for sharing

Collapse
 
yogithesymbian profile image
Yogi Arif Widodo

nice

Collapse
 
donsmak profile image
donsmak

always seen my self as dumb guy but somehow i could understand this easy Thanks op!

Collapse
 
100abhishek profile image
Abhishek Singh

RESTful APIs are best

Collapse
 
zaharadini_shaibu_99d5bc4 profile image
Zaharadini Shaibu

H