java - response.getStatusLine():HTTP/1.1 400 Bad Request -


i have passed date field string url , date encoded through urlencoder.encode(date,"utf-8")

generated url below:

    http://localhost:2990/jira/rest/issuesrestresource/1.0/message/retrievessuesforuser/username/16%2fmay%2f13 

but not able call rest resource service , giving me bad request error below.

response.getstatusline():http/1.1 400 bad request 

what wrong , giving me bad request error..? thanks

try encoding url instead of date:

urlencoder.encode(url,"utf-8") 

where url url string consisting date well.


Comments