Added sample request functionality.