C
C
Chesterfield252020-10-11 10:19:56
Java
Chesterfield25, 2020-10-11 10:19:56

How to override value post request with Volley?

Tell me how to solve this issue?
I send a post request using the Volley library, as one of the value values ​​\u200b\u200bthat is passed in the request to change to what the user will enter in the EditText field?

Request body:

@Override
protected Map<String,String> getParams(){
                Map<String, String>  params = new HashMap<String, String>();
                params.put("api_key", "api_key");
                params.put("amount", "value");
                params.put("to", "value");
                params.put("currency", "value");

return params;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2020-10-11
@zagayevskiy

editText.getText().toString()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question