Hi guys!
def send(self,origin,body,destination='smsc.py',test=1):
"""docstring for send"""
body = '%s is an invalid message' % body
url
='http://www.txtlocal.com/sendsmspost.php?uname=****&pword=***&selectednums=
%(selectednums)s&from=%(header)s&message=%(message)s&json=1&test=%
(mode)s' % \
dict(selectednums=origin,header=destination,message=body,mode=test)
return fetch(url)
pass
If have this method, on the web2py server it works fine. it sends my
sms message and then gives me the api response.
when i run the same code on Google Appengine local and deployed it
doesn't work. it doesn't giveme an error but does not fetch
the api repsonse.
do i have enable something to allow GAE to post to external urls?
Any suggestions?
thanks
Delaney Burke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---