input: Write a function to handle a POST request and search for a term in a database.
  assert search({'search_term': 'test'}) == {'result': 'test_result'}
  assert search({'search_term': 'example'}) == {'result': 'example_result'}
  assert search({'search_term': 'sample'}) == {'result': 'sample_result'}
output: def search(request):
      database = {
          'test': 'test_result',
          'example': 'example_result',
          'sample': 'sample_result'
      }
      search_term = request.get('search_term')
      result = database.get(search_term, 'not_found')
      return {'result': result}