Re: [Pharo-users] Zinc: Posting aString

2013-06-12 Thread Sean P. DeNigris
Sven Van Caekenberghe-2 wrote > client > contents: ' > > .. > > '; > contentType: ZnMimeType applicationXml; Thanks! That did the trick :) - Cheers, Sean -- View this message in context: http://forum.world.st/Zinc-Posting-aString-tp4693047p4693050.htm

Re: [Pharo-users] Zinc: Posting aString

2013-06-12 Thread Sven Van Caekenberghe
Ha, my favourite User(™), On 12 Jun 2013, at 18:08, "Sean P. DeNigris" wrote: > In the Jenkins REST API, you create a new job by posting a config.xml to > http://server_url/createItem?name=NewJobName > > Using an existing template file was easy enough: > ZnClient new > url: restUrl; >

[Pharo-users] Zinc: Posting aString

2013-06-12 Thread Sean P. DeNigris
In the Jenkins REST API, you create a new job by posting a config.xml to http://server_url/createItem?name=NewJobName Using an existing template file was easy enough: ZnClient new url: restUrl; queryAt: 'name' put: aString; uploadEntityFrom: '/path/to/config.xml'; c