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
How to remove <br / > from the SMS text?
but it works when I called API from Postman as below.
OUTPUT


