Relative Content

Tag Archive for jsonkotlinazure-web-app-servicektor

Sending identical HTTP POST request succeeds from reqbin.com but fails from kotlin mobile app

I am trying to build a simple ping function to a mobile app. I want to send a ping from the app to an azure web app which should receive the ping and save it to an SQL database. I am developing the app in java and kotlin.
So far I have identified that the json payload I send from the app is not formatted correctly, or at least cannot be formatted correctly when received in the web app. I get a ‘Json input formatter’ exception from Azure Log Streams when I send a ping from the app.