Open Septianpradana opened 4 years ago
Kamu login dulu, untuk mendapatkan AccessToken
loginya seperti ini kak? ko selalu invalidnya https://i.ibb.co/fv8XQdB/postman3.png
kamu meletakan parameternya tidak didalam body. kamu pelajari ini dahulu https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
aku udah coba buat parameternya di body hasilnya sama kak https://i.ibb.co/vJncBYk/postman5.png
kak aku udah coba dan bisa mendapat tokennya, aku mau nanya untuk link base_url di mobilenya gimana? udah aku ganti sama dengan di postman tapi pas mau login mobile http error 404 not found.
03/31 00:49:10: Launching app No apk changes detected since last installation, skipping installation of C:\Users\septi\Downloads\Elearning-Mobile-master\Elearning-Mobile-master\app\build\outputs\apk\app-debug.apk $ adb shell am force-stop com.rakaadinugroho.msuryanusatara $ adb shell am start -n "com.rakaadinugroho.msuryanusatara/com.rakaadinugroho.msuryanusatara.core.authentication.AuthActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Client not ready yet..Waiting for process to come online Connected to process 4556 on device motorola-aosp_on_shama-127.0.0.1:62001 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true D/Atlas: Validating map... I/OpenGLRenderer: Initialized EGL, version 1.4 D/: HostConnection::get() New Host Connection established 0xb3f810c0, tid 4579 D/OpenGLRenderer: Enabling debug mode 0 V/RenderScript: 0xaec69800 Launching thread(s), CPUs 2
kak cara untuk Authorization jwt-nya gimana ya kak https://i.ibb.co/7WqN0TQ/postman2.png https://i.ibb.co/fqwvn10/postman.png