As sinatra application
Change sample task from get to post