add_tag() public static method

public static add_tag ( $tag, $public_ids = [], $options = [] )
Ejemplo n.º 1
0
 /**
  * Test issue #33 - HTTP 502 when providing a large public ID list
  */
 public function test_huge_public_id_list()
 {
     $api = new \Cloudinary\Api();
     $ids = array();
     for ($i = 1; $i < 200; $i++) {
         $ids[] = "foobarfoobarfoobarfoobarfoobar";
     }
     Uploader::add_tag("huge_list", $ids);
 }