D
D
Dmitry Belousov2016-12-18 12:40:05
Java
Dmitry Belousov, 2016-12-18 12:40:05

How to add parameters to GetMethod?

HttpMethodParams methodParams = new HttpMethodParams();
        methodParams.setParameter("text", text);
        
        PostMethod postMethod = new PostMethod(url);
        postMethod.setParams(methodParams);

I add parameters to get method but when it sends url it doesn't send parameters, what should I do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question