Rest service without php installed on server

Hi all, is it possible to use rest service without php installed on server? I mean without ajax?

A Restful API or service has nothing to do with PHP or ajax. It’s a way of structuring/formatting a call that looks like a URL where each “path” node is a interpreted as a parameter.

Apache servers make this easy via the .httaccess file and mod rewrites and since PHP is typically installed along with Apache (it’s what’s called LAMP or WAMP web servers) this is why you see them used together.

So yes you can call a non restful api with or with ajax but you should use ajax for a better user experience.