java - Web Server : retrieve POST data values -
i'd value of specific key when web server detects post request.
the best method found :
string content = request.getcontent();
example of post data : field1=some-data&field2=other-data
i need : "some-data" given field "field1"
i tried use :
string value = request.getparameter("field1");
but works if pass data url ..
i wonder if should use regex. if case, best pattern ?
thanks in advance!
Comments
Post a Comment