-
Notifications
You must be signed in to change notification settings - Fork 76
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
Not respon testing API request #113
Comments
There was probably an error and you need to catch it |
Thank you for your response.
How come i can catch the message error from xendit API request? not define
by me
Pada tanggal Sen, 28 Des 2020 pukul 08.22 Stanley Nguyen <
notifications@github.com> menulis:
… There was probably an error and you need to catch it
Please refer to this guide
<https://www.w3schools.com/PHP/php_exception.asp>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASILMR6UH2GNOF3GCBCCF53SW7MUBANCNFSM4VJZGIBQ>
.
|
When the server returns a non-200 error, |
i have tried with exception and i got the result
Configuration file not found.
Where's the problem with that error?
Pada tanggal Sen, 28 Des 2020 pukul 09.37 Stanley Nguyen <
notifications@github.com> menulis:
… Thank you for your response. How come i can catch the message error from
xendit API request? not define by me Pada tanggal Sen, 28 Des 2020 pukul
08.22 Stanley Nguyen < ***@***.***> menulis:
… <#m_-4594006099260539340_>
There was probably an error and you need to catch it Please refer to this
guide https://www.w3schools.com/PHP/php_exception.asp — You are receiving
this because you authored the thread. Reply to this email directly, view it
on GitHub <#113 (comment)
<#113 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASILMR6UH2GNOF3GCBCCF53SW7MUBANCNFSM4VJZGIBQ
.
When the server returns a non-200 error, curl_exec will throw a
RequestError that you have to catch. Just try and print out the error
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASILMRYMJEJG6RBEY3JV5MLSW7VN5ANCNFSM4VJZGIBQ>
.
|
That's probably not an API error. Can you try Googling the error message? |
Ok thank you for your answer and suggestion.
My request has successed and got response.
I will explore more
Pada tanggal Sen, 28 Des 2020 pukul 09.52 Stanley Nguyen <
notifications@github.com> menulis:
… That's probably not an API error. Can you try Googling the error message?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASILMR6GZYL4BQFLYAOVNMDSW7XFTANCNFSM4VJZGIBQ>
.
|
My pleasure! |
Saya sudah membuat akun Xendit dan masih dalam tahap testing dengan menggunakan API request.
Saya melakukan API request langsung dari aplikasi klien saya menggunakan codeigniter.
End point yg saya coba adalah Create Customers dan Get Balance.
Namun request saya tidak ada respon baik itu gagal maupun berhasil.
The text was updated successfully, but these errors were encountered: