i am new to groovy and my requirement is to save API response to image file with groovy script.
i checked with previous thread but it's not working.
Can somebody please share groovy code with required import groovy classes.
it will be very helpful,
thanks in advance.
is it feasible in groovy to save REST API image response in .jpg/.png file?
if yes please suggest additional classes also.