You certainly can. Most endpoints send and receive RESTful API JSON objects, while others receive multipart/form-data or return binary chunk http streams.
The API Reference has CURL examples selectable above code samples, showing the method of sending of direct requests, and contents.