I was trying to automate posting some values to a website (I would use Stfx.eu but it doesn’t do syntax highlighting and only seems to work for quite small amounts).
Anyway the following code always seems to trim values that have a ; in them - and I’m wondering if I’m missing something - or if its the endpoint that has an issue (although curl seems to work fine). content := 'hello world; hello'. ZnClient new systemPolicy; beOneShot; url: 'http://dpaste.com/api/v2/'; formAt: 'title' put: 'my; title'; formAt: 'syntax' put: 'smalltalk'; formAt: 'expiry_days' put: '5'; formAt: 'content' put: content; post. Tim