Add request method check on prefill hook as suggested by mrjoes