You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this: $params = ['filters' => "[('country_id', '=', 69')]"]; $body = Unirest\Request\Body::Json($params); $response = Unirest\Request::get($this->url.':'.$this->port.'/api/res.country.state', $this->headers, $body);
but it, doesn't send any parameters.
the api that i try to request request me a GET method with params in a json format
works good with:
` $params = ['filters' => "[('country_id', '=', 69)]"];
$curl = curl_init();
Hi, i need to do this;
curl -v -i -k -H "Content-Type: text/html" http://localhost:8069/api/res.partner -X GET -H "access_token: XXXXXXXXXXXXXXXXX" -d '{"filters": "[(\"name\", \"like\", \"company\"), (\"id\", \"<=\", 50)]"}'
how could i do that?
Thank you
The text was updated successfully, but these errors were encountered: