How to use New Line command in API calling? [closed]

New Line Command is not working properly when I called client API.

$text=nl2br("Which desert is located in Qatar? n A)Kalahari Desert n B)Gobi Desert n 
C)Rub'al Khali (Empty Quarter) n D)Sahara Desert. n Please reply A/B/C/D.");   
            

$jsonData = array(
    'text' =>  $text,
    'msisdn' => $msisdn                     
);

I tried to use n in $text variable & result as below

enter image description here

How to remove <br / > from the SMS text?

but it works when I called API from Postman as below.

enter image description here

OUTPUT

enter image description here