Sharepoint REST api

I am looking for a way to interact with an on-prem Sharepoint environment via its REST api.

Most/all information on the WWW around this topic seems to orbit around an Azure instance of Sharepoint (e.g.). Our setup is a full on-premises one.

Any pointers or sharing previous experience with interacting with the Sharepoint REST api is much appreciated.