code: def body_echo(cls, request,
                    foo: (Ptypes.body, String('A body parameter'))) -> [
              (200, 'Ok', String)]:
          '''Echo the body parameter.'''
          log.info('Echoing body param, value is: {}'.format(foo))
          for i in range(randint(0, MAX_LOOP_DURATION)):
              yield
          msg = 'The value sent was: {}'.format(foo)
          Respond(200, msgf body_echo(cls, request,
                    foo: (Ptypes.body, String('A body parameter'))) -> [
              (200, 'Ok', String)]:
          '''Echo the body parameter.'''
          log.info('Echoing body param, value is: {}'.format(foo))
          for i in range(randint(0, MAX_LOOP_DURATION)):
              yield
          msg = 'The value sent was: {}'.format(foo)
          Respond(200, msg)
docs: Echo the body parameter.