Refactored file to WebServicePoster.java.
Created a constructor, added fields, added set methods, and created a postData method.
Added getter methods for URL and params fields.