Send Function arguments

How do we pass args to a function via Postman:
I am trying to pass args to this function from postman.But, have had no luck sending the $text.

Details (like screenshots):

public function textValidation($text){
if (!preg_match("/^([a-zA-Z]+)$/i",$text)) {
echo ‘false’;
echo ‘true’;

I get this error: (try: http://localhost/Test/textValidation?text=hello)

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Test::textValidation(), 0 passed in /srv/app/app/core/App.php on line 131 and exactly 1 expected in /srv/app/app/controllers/Test.php:22 Stack trace: [#0]( /srv/app/app/core/App.php(131): Test->textValidation() [#1]( /srv/app/public/index.php(106): App->__construct(Array, Array) [#2]( {main} thrown in /srv/app/app/controllers/Test.php on line 22

I have tried:
to post with prams and body with no luck.