How to create a contact via API/HTTP Request

Is it even possible? I have spent long time trying to figure it out.