Upload pictures via api

Hi,

What is the best way to upload multi picture through an api ?
The form contain both text input and picture