Recive file (e.g. images) using REST api

Hi, Yii community!! I was trying to receive files using REST, (a mobile app send the file), but i was unable to do that using Yii2.0 advance template, there is some documentation for upload files using forms (www.yiiframework.com/doc-2.0/guide-input-file-upload.html) but i was unable to use that same approach using REST, i need some guidance in the correct direction, there is few documentation off that for yii 2.0. Thanks in advance.

Yii2? This is the Yii 1.1 forum!

A tip on Stackoverflow:

"yii2 REST Api file upload using PUT":