Pretty much, yes. The way an API *should* work (should being the "preferred" way) is with a RESTful API. Basically, you POST/GET/PUT/DELETE to a certain URL, and then action is taken on it based on the type of request (POST/GET/PUT/DELETE).
For example, if I had an API that showed my ToDos...