Update api_test.php

support multipart api test