Skip to content
New issue

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

_sendRequest Returned SessionID #1

Open
arshanskiyav opened this issue May 5, 2024 · 1 comment
Open

_sendRequest Returned SessionID #1

arshanskiyav opened this issue May 5, 2024 · 1 comment

Comments

@arshanskiyav
Copy link

Hi

I want to get sms or ussd, but script return SessionID, calling _getToken in _sendRequest overwrite $response

@zbchristian
Copy link
Owner

Yes, you are correct. This will be the case, if no token is available yet, or all tokens have been used.

Did you call _initHilinkAPI first? This should fill the token list and _getToken is not filling $response.

Will have a look and fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants