Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public JobResponse createJob(JobRequest job) {
- return jerseyClient.resource(URI.create(JOBS_URL))
- .type(MediaType.APPLICATION_JSON_TYPE)
- .header("Api-Key", job.getApiKey())
- .post(JobResponse.class, job);
- }
Add Comment
Please, Sign In to add comment