SomeofthemostcommonformsofAPeyesthatyou'llrunintoas a developeraregoingtoberestAPeyesontheWebandlibraryAPeyesfromcodethatyoupullintoyourprojectwasfirsttalkaboutthesewebAPeyeswhicharegoingtobemostlikelyrestapeyesthesapeyesexposed.
Differentendpoints, alsoknownasyougirls, whichyoucanaccesstogetcertaindatafromthat a p I Youcanalsoaccesstheseendpointsinordertomodifydataontheseservers.
Thisis a waythattheseserverscanbesecuredbyonlyexposingtheinformationtheywantthroughthisAP I, whichisthecontractthattheserverandtheclientarehavingbetweeneachother.
TheothermostcommonAP I, whichisnotreallyreferredtocommonlyasan a p I butisstilltechnically a P.
I isanactuallibrarythatyoupullintoyourcode.
Theslibrarieshave a bunchofdifferentmethodstofindonthemthatdospecificthingswhenyoucallthemandreturntoyourspecificdatawhenyoucallthem.
Thisisexactlywhatin a P I is.
It's a contractbetweenthislibrarycodethatyou'veinstalledandyouractualproject, thatusingthatlibrariescode, youhavedifferentwaysthatyoucanaccessitonleethemethodsthattheyexposedandyouaren't abletoaccesstheinternalsofthatlibraryunlessit's throughthemethodsthatthe A p I ofthelibraryexposestoyou.
ThecommonthemewithAPEyesisthattheyonlyexposedtoyouexactlywhattheywantyoutobewiththeaccessandhideawayabsolutelyeverythingelsethattheycaninordertomaketheir A PRassecureaspossible.
Alsocommonly, withWebapres, you'regoingtoneedsomeformoftokentoauthenticateyourselfwiththisAP I, whichwillallowtheapplicationtoknowwhoseaccessinthe A P I inordertolimitwhatthatpersoncanaccessbasedontheirspecificpermissions.
Inconclusion, APEyesareabsolutelyeverywhere, fromtechnologytonontechnologyrelatedfields, andit's reallyjust a contractbetweentwothingswithhowtheycaninteractwithoneanother.