Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: joining string content

by Corion (Patriarch)
on Jun 24, 2025 at 13:10 UTC ( [id://11165463]=note: print w/replies, xml ) Need Help??


in reply to Re^4: joining string content
in thread joining string content

From my cursory reading of the Twilio documentation of the Message API, it expects $message to contain a JSON message as in the examples.

You send some string in the Body parameter that may or may not be a properly URL-encoded JSON message that Twilio expects.

Also, concatenating strings does not make something x-www-form-urlencoded. You should properly URL-encode the parameters or look (for example) at the URL::Encode module for properly encoding all the parameters. Especially, your phone numbers contain the + character, which needs to be URL-encoded, for example as %22.

Replies are listed 'Best First'.
Re^6: joining string content
by joyfedl (Acolyte) on Jun 24, 2025 at 13:23 UTC

    i have no any problem with script, am sending sms very well, but when i try to send bulk by entering numbers in this way +1234, +23444 in html. it doesn't work.

    i can only send bulk by doing this in backend like this my @recipients = ("+233434", "+233434");

    i didnt say there is any problem of sending, only problem is receipts

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11165463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2026-04-22 01:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.