string(11) "before curl" string(7) "result1" string(4) "null" ERROR: Error obtaining data