Couldn't resist sharing this one:
1 2 3 4 5 6 7 8 9 10 11 12 13 | ZnClient new logToTranscript; addPath: 'caption_image' ; formAt: 'template_id' put: '95158268' ; formAt: 'username' put: '...' ; formAt: 'password' put: '...' ; formAt: 'text0' put: 'Just Zinc' ; formAt: 'text1' put: 'HTTP Components' ; accept: 'application/json' ; contentReader: [ : entity | ZnEasy getJpeg: (((NeoJSONReader fromString: entity contents) at: #data ) at: #url ) display ]; post. |
To save you from generating a user in imgflip API, this is the resulting output:
0 comentarios:
Publicar un comentario