[#706] Can't connect to the API

Migrated from Redmine #706 | Author: Elias Maalouf
Status: New | Priority: Low, I can wait | Created: 2021-06-04


Hi, I am trying my best to connect to the API as needed yet it is not working, the issue is I am not sure if it is a firewall preventing me from connecting or no.
Here’s what I am doing:
1-I have followed the documentation by creating a JsonRpcClient.php, in this file I have created a client to connect with Simplybook, I have gotten my API keys and create a token from there, this token has been added as a variable and trying to connect to the server with my username, everything works fine when sending it with postman, except when adding it to a server it doesn’t work, we tried increasing the session timeout yet it didn’t work also, the code is written in Vanilla PHP and we really need to figure this out the soonest possible.

Best,
Elias,

Dmytro Bondarev wrote:

It seems you have some mistake in code.
Please provide your code.

Elias Maalouf wrote:

Can we send it privately?