I use this with 1.20.0-SANDBOX
I set this app to get token from my local server
(localhost, using sample https://github.com/rizdaprasetya/midtrans-mobile-merchant-server--php-sample-)
the server works fine, I tested it using Postman app.
but, if I request using this app, always returns 404, because it uses GET
some logs from app
D/Retrofit: ---> HTTP POST http://192.168.6.31/midtrans-sp/charge
Accept: application/json
X-Source: mobile-android
Accept: application/json
Content-Type: application/json
Content-Length: 706
D/Retrofit: <--- HTTP 404 http://192.168.6.31/midtrans-sp/charge (100ms)
Date: Mon, 23 Jul 2018 12:35:28 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Length: 9
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
D/Retrofit: req = GET // this is my web server output
I use this with 1.20.0-SANDBOX
I set this app to get token from my local server
(localhost, using sample https://github.com/rizdaprasetya/midtrans-mobile-merchant-server--php-sample-)
the server works fine, I tested it using Postman app.
but, if I request using this app, always returns 404, because it uses GET
some logs from app
D/Retrofit: ---> HTTP POST http://192.168.6.31/midtrans-sp/charge
Accept: application/json
X-Source: mobile-android
Accept: application/json
Content-Type: application/json
Content-Length: 706
D/Retrofit: <--- HTTP 404 http://192.168.6.31/midtrans-sp/charge (100ms)
Date: Mon, 23 Jul 2018 12:35:28 GMT
Server: Apache/2.4.29 (Ubuntu)
Content-Length: 9
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
D/Retrofit: req = GET // this is my web server output