fabiogomez28

Members
  • Content Count

    7
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    fabiogomez28 got a reaction from mikelito85 in error example post item   
    Hi
     
    in the PHP example the picture property of array is like
     
    "pictures" => array(
    "ID" => "MLA2096545948_102011",
    "source" => "http://media.point2.com/p2a/htmltext/f2a4/590f/3627/f49be256595a86c91457/original.jpg"
    ),  
     
    but the correct form is like 
     
    "pictures" => array(
    array(
    "ID" => "MLA2096545948_102011",
    "source" => "http://media.point2.com/p2a/htmltext/f2a4/590f/3627/f49be256595a86c91457/original.jpg"
    )
    ),  
     
    the informartion of picture is a array into other array
     
  2. Like
    fabiogomez28 got a reaction from Newerton in autentication return empty acces token   
    for best practises you only add CURLOPT_SSLVERSION => 3 to array $CURL_OPTS like this
     
    public static $CURL_OPTS = array(         CURLOPT_USERAGENT => "MELI-PHP-SDK-1.0.0",          CURLOPT_SSL_VERIFYPEER => false,         CURLOPT_CONNECTTIMEOUT => 10,          CURLOPT_RETURNTRANSFER => 1,          CURLOPT_TIMEOUT => 60,         CURLOPT_SSLVERSION => 3     );