Update lib_api.php

url encode $method