Guest User

Untitled

a guest
Feb 25th, 2021
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import groovyx.net.http.HTTPBuilder
  2. import static groovyx.net.http.Method.GET
  3. import static groovyx.net.http.ContentType.JSON
  4.  
  5. def http = new HTTPBuilder("https://kfsssiteapi.sands.local/")
  6. http.auth.basic 'JIRA_WORKER', 'g%Hax7t8cz)QH[3))'
  7. def data = http.get(
  8. path: 'v2.1/lk/api/findClient?phone=9106463635',
  9. contentType : JSON
  10. )
Advertisement
Add Comment
Please, Sign In to add comment