Hi Ilaria,
did not quite understand what you are trying to do but for sure you are
messing up passing the slurper to the builder. As far as I understood you
want to replace values or delete them (A2?) from a json so better work on
maps:
def json = '''
{
"field1":"A",
"fiel
Hi,
I was hoping to get some feedback from this community on how my attempt can
be improved in any way or whether I am actually heading towards the wrong
direction.
Thank you so much,
I.
--
View this message in context:
http://groovy.329449.n5.nabble.com/Groovy-script-to-replace-Json-values-v
> On Jun 7, 2016, at 11:40 AM, Imholz, John J. wrote:
>
> I'm still not sure how to get the Content-type sent as 'text/xml' (the
> webservice I'm hitting doesn't like 'application/xml’.)
You should just be able to specify the content type as ‘text/xml’ without
having to use one of the Content
I'm still not sure how to get the Content-type sent as 'text/xml' (the
webservice I'm hitting doesn't like 'application/xml'.)
Can I get some insight on how to log http components when executing a groovy
script from the command line?
jji
From: David Clark [mailto:plotinussm...@gmail.com]
Sent:
The content-type is set to the content type of the encoder. See here:
https://github.com/jgritman/httpbuilder/blob/master/src/main/java/groovyx/net/http/EncoderRegistry.java#L333
For the xml encoder that is "application/xml". See here (the first entry in
the list is taken to be the default conten
On 07.06.2016 14:55, Edd Grant wrote:
Hi folks,
Anyone have any ideas here? Wondering if the lack of response is due to
me phrasing the question badly, let me know if that's the case and I'll
try and re-word?
probably more because the usual suspects to answer this have been at the
GR8 confere
I'd like to set the Content-type of a POST to "text/xml" looks to me like
http.request( POST, XML) sets it to "application/xml".
Also, to debug, how can I see the POST before I send it?
jji
Hi folks,
Anyone have any ideas here? Wondering if the lack of response is due to me
phrasing the question badly, let me know if that's the case and I'll try
and re-word?
Cheers,
Edd
On 1 June 2016 at 16:56, Edd Grant wrote:
> Hi Folks,
>
> I am trying to control the behaviour exhibited by so
Hi everyone!
The Apache Groovy team is pleased to announce the release of Apache Groovy
2.4.7! Apache Groovy is a multi-facet programming language for the JVM.
More information can be found at http://groovy-lang.org
This release include numerous bugfixes and we'd like to thank our growing
contrib