Guest User

Untitled

a guest
Jan 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public JobResponse createJob(JobRequest job) {
  2. return jerseyClient.resource(URI.create(JOBS_URL))
  3. .type(MediaType.APPLICATION_JSON_TYPE)
  4. .header("Api-Key", job.getApiKey())
  5. .post(JobResponse.class, job);
  6. }
Add Comment
Please, Sign In to add comment