API Calls from PHP curl

I’ve been studying the documentation for reading and writing records from external web pages.

Can PHP curl be used with the API instead of command line? if so are there any basic examples ?
ive been able to read and write via HTML POST, but am kind of hung up on updating and deleting methods using curl alone.

Of course, you can call the Ragic API from PHP curl. Please see the following page for examples:

Thank you