I have a class like this:.
...
@Extension
public class GenericWebHookRequestReceiver extends CrumbExclusion implements UnprotectedRootAction {
private static final Logger LOGGER =
Logger.getLogger(GenericWebHookRequestReceiver.class.getName());
public HttpResponse doInvoke(final StaplerRequest request) {
LOGGER.info("URL: " + request.getRequestURLWithQueryString());
LOGGER.info("Keyset: " + request.getParameterMap().keySet())
...
I was expecting param1 and param2 to be available in the keyset. Any hints on what I'm doing wrong here?