In application when we create project with the name like example:

Test project or demo checking getting error i.e., with the space having in between them is not taking and its working like example demo or test or link

Below is my script I'm getting one issue with:

```

#!/bin/bash
# Begin
TEMP=$(getopt -n "$0" -a -l "username:,password:" -- -- "$@")

    [ $? -eq 0 ] || exit

    eval set --  "$TEMP"

    while [ $# -gt 0 ]
    do
             case "$1" in
                    --username) TS_USER="$2"; shift;;
                    --password) TS_PWD="$2"; shift;;
                    --) shift;;
             esac
             shift;
    done

curl -s -H "Content-Type: application/json" -X POST -d '{"username": "'${TS_USER}'", "password": "'${TS_PWD}'"}' https://example.com/login

echo "generated token is:" $token

curl --location --request POST "https://example.com/" --header "Authorization: Bearer "$token"" 

echo "runId =" $runId

if [ -z "$runId" ]
then
          echo "RunId = " "$runId"
          echo "Invalid runid"
          echo $(curl --location --request POST "https://example.com/" --header "Authorization: Bearer "$token"")
          exit 1
fi

taskStatus="WAITING"
echo "taskStatus = " $taskStatus

while [ "$taskStatus" == "WAITING" -o "$taskStatus" == "PROCESSING" ]
         do
                sleep 5
                 echo "Checking Status...."

                passPercent=$(curl --location --request GET "https://example.com/" --header "Authorization: Bearer "$token"")

                        taskStatus="${array[0]}"

                        echo "Status =" "${array[0]}" " Success Percent =" "${array[1]}"  " Total Tests =" "${array[2]}" " Total Failed =" "${array[3]}"

                if [ "$taskStatus" == "COMPLETED" ];then
            echo "------------------------------------------------"

                        echo  "Run detail link https://example.com${array[7]}"
                        echo "-----------------------------------------------"
                        echo "Job run successfully completed"
                        exit 0

                fi
        done

echo "Task Status = " $taskStatus
 exit 1
fi

echo "$(curl --location --request GET "https://example.com/" --header "Authorization: Bearer "$token"")"
exit 1

return 0

```

1. The following command throwing error because of space having

```
bash script.sh --username USERNAME --password PASSWORD --project Test Project

```
2. The following command working because in between space I add `%20`

```
bash script.sh --username USERNAME --password PASSWORD --project Test%20Project 

```
3. The following command working because of single work or name I given

```
OUTPUT COMMAND:- bash script.sh --username USERNAME --password PASSWORD --project Test

```