Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am j4y on github.
  • I am j4y (https://keybase.io/j4y) on keybase.
  • I have a public key whose fingerprint is 10D2 A672 20A9 E2B5 7C85 B501 F26A 5FCE 4EF8 9FA1

To claim this, I am signing this object:

@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.2')
@Grab(group='org.apache.httpcomponents', module='httpclient', version='4.3.5')
@Grab(group='org.apache.httpcomponents', module='httpmime', version='4.3.5')
import groovyx.net.http.*
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.POST
import org.apache.http.entity.mime.MultipartEntityBuilder
import org.apache.http.entity.mime.content.ByteArrayBody