how to set request header for sending data from android apps to our server

后端 未结 4 1068
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-30 12:33

How to set http header to sending json object from our android apps what type of header we want to use for sending data from client side to server.why we ar

4条回答
  •  旧巷少年郎
    2020-12-30 12:51

    I coded a web services in .NET an then used ksoap2 in my android application to send data to my server.

    Look at ksoap2-android:

    http://simpligility.github.io/ksoap2-android/index.html

    I suggest to add this library:

    https://oss.sonatype.org/content/repositories/ksoap2-android-releases/com/google/code/ksoap2-android/ksoap2-android-assembly/3.0.0/ksoap2-android-assembly-3.0.0-jar-with-dependencies.jar

    that carries also all dependencies.

提交回复
热议问题