0

In my android application i would like to send a json object with username and password as string to the server. Could you please let me know how i can achieve this using https connection.

Please share your valuable suggestions.

Thanks in advance :)

1 Answer 1

2

Have you tried a search?

Sign up to request clarification or add additional context in comments.

3 Comments

I think @Remmyabhavan wants to know how to work with HTTPS and is a little different. All your links points to "regular" Http posts.
@seretur I have successfully used the HttpClient for HTTPS connections & POSTs with few issues. The main stumbling block would be if the site certificate has not been signed by an authority that Android recognises. Also UrlConnection has a sub-class of HttpsURLConnection that I have also used with success.
Yes, that's why i said it, you mention Android and self-signed SSL and i start walking on the roof pulling my hair off :).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.