2

I have created an app which works on transaction.In this app i am sending a request to the API used for transaction in which various values are sent. The response is in the form of HTML. I am parsing the response but the response is not converting fully.

Help me regarding this code and if any other method present to sent variables to a url via post only

1 Answer 1

4

Use webview to view the result and pass all of your values via url. You can achieve this as

    WebView.postUrl(url, EncodingUtils.getBytes(postData, "BASE64"));

postData is string for parameters.

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

Comments

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.