Skip to content

request method using GET #5

Description

@thoma-rf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions