Re: POST Url Encoding

2015-01-13 Thread Kay C Lan
Hi Andy,

In your Blog:

on mouseUp
  //the '' in the string will cause problems so url encode it
  put urlEncode(blackwhite) into tencodedString
  put animal=  cat  color=  tencodedString into tmyData
  post tmyData to url http://2108.co.uk/code/lc/mypost.lc?;
end mouseUp

I think you meant:

put animal=  cat  color=  tencodedString into tmyData

which really should be:

put animal=catcolor=  tencodedString into tmyData

or you meant

put cat into tmyAnimal
put animal=  tmyAnimal  color=  tencodedString into tmyData
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


POST Url Encoding

2015-01-12 Thread AndyP
I've been doing a lot of work recently involving using POST  Url Encoding in
LiveCode and had to look at a lot of different sources of information to
sort out some of the problems I had encountered along the way.

So I've created the first in a series of blog posts on the subject to help
others with what I've learnt.


Why do I need to Url Encode my http POST requests?
http://2108.co.uk/why-do-i-need-to-url-encode-my-http-post-requests/  



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/POST-Url-Encoding-tp4687722.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode