it works, but the problem is that, what is x2520 and the rest in that format, beacuse this sends sms its sms channel

Body=This\x2520is\x2520the\x2520ship\x2520that\x2520made\x2520the\x2520Kessel\x2520Run\x2520in\x2520fourteen\x2520parsecs\x253FFrom=\x252B15017122661&To=\x252B15558675310 when i try to make like whatsapp:<sandbox phone number>. as referenced from there https://www.twilio.com/docs/api/errors/63007 its seems thats am making the request body wrong

so how can i make this body

To=whatsapp:+256775562361& From=whatsapp:+14155238886

because the code is ok and working but the problem is body formating

your body looks like this

To=+256775562361& From=+14155238886

from this

<code>Body=This\x2520is\x2520the\x2520ship\x2520that\x2520made\x2520th +e\x2520Kessel\x2520Run\x2520in\x2520fourteen\x2520parsecs\x253FFrom=\ +x252B15017122661&To=\x252B15558675310

In reply to Re^2: parsing curl api by frank1
in thread parsing curl api by frank1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.