We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Guys, I just tried out the PHP SDK, used composer to install and when i try to use the first sample code which is
require_once __DIR__.'/vendor/autoload.php'; use ApiAi\Client; try { $client = new Client('MY_CLIENT_ACCESS_TOKEN'); $query = $client->get('query', [ 'query' => 'Hello', ]); $response = json_decode((string) $query->getBody(), true); } catch (\Exception $error) { echo $error->getMessage(); }
i am getting the following error:
Client error: GET https://api.api.ai/v1/query?v=20150910&lang=en&query=Hello` resulted in a 400 Bad Request response: { "id": "abb5553d-69d6-41ba-bfba-cadc777536a8", "timestamp": "2016-11-30T09:29:32.553Z", "status": { "code": 4 (truncated...)`
Client error:
400 Bad Request
Did the signature change/sdk needs to be updated because using POSTMAN i am able to query perfectly fine.
The text was updated successfully, but these errors were encountered:
I got the same problem. hope you can help us. thanks
Sorry, something went wrong.
I have same problem with 1st sample but I try 2nd one and it worked.
Hi, currently I am planning to write a new client for the platform
@ibodurev thanks to hearing us
No branches or pull requests
Hello Guys,
I just tried out the PHP SDK, used composer to install and when i try to use the first sample code which is
i am getting the following error:
Client error:
GET https://api.api.ai/v1/query?v=20150910&lang=en&query=Hello` resulted in a400 Bad Request
response: { "id": "abb5553d-69d6-41ba-bfba-cadc777536a8", "timestamp": "2016-11-30T09:29:32.553Z", "status": { "code": 4 (truncated...)`Did the signature change/sdk needs to be updated because using POSTMAN i am able to query perfectly fine.
The text was updated successfully, but these errors were encountered: