Build a stand alone java class to take in a URL and save the PDF image returned by the URL

Our Diamond Certificate Laboratory, AGS, has changed the transport mechanism when we retrieve diamond certs.

The URL used to return the content type of 'application/pdf', and then we'd open the URL, load in all the bytes, and save the input stream to a PDF file on the local file system.

Now, I'm seeing the content type as 'application/json' ... and do not know how to open the stream to extract the PDF file.

Here is a sample URL:

[login to view URL]

I'm attaching the existing code. The only thing I changed from the original is the 'content-type' check from 'application/pdf' to 'application/json' and I stopped there.

Taidot: Java, Web Development

Näytä lisää: save pdf file asp, open save pdf file sql server, save flash image using php, java download file from url, java 8 download image from url, java file download example, download pdf file in java example, java code to download a file from local system, java read html, java download file from server, java download webpage to file, save image pdf image pdf pdf image, java class image webcam, java class odt pdf, orc save pdf image, java save scaled image, pdf jpeg java class, java class save xsd, java read 3gp save frame image, save harvested image htmlunit java

Tietoa työnantajasta:
( 9 arvostelua ) Lakewood, United States

Projektin tunnus: #18109431

Myönnetty käyttäjälle:


Hi Skills - web scraping, python, java

$50 USD 1 päivässä
(20 Arvostelua)

9 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Dear sir I have a detail look to your project, I'm sure I can complete your project. My price and period is negotiable. I am on freelancer all day and I will implement all things you want perfectly. We can discuss Lisää

$133 USD 3 päivässä
(31 arvostelua)

Dear Sir, With best wishes and due respect, the first fact I want to ensure you that I have checked your job description thoroughly in details and I have quite enough skills, experience and quality to accomplish the Lisää

$150 USD 2 päivässä
(1 arvostelu)

Hello there, Greetings...! A pleasure to submit the proposal for your kind consideration. We have studied your post and understood the requirement. We would like to let you know that I have more than 4 years Lisää

$250 USD 3 päivässä
(1 arvostelu)

I have good team for website design and development, To contact me you have to click on the chat button, Lets Chat a bit more about the project. I am Good at Java, Web Development. shlomowittelscould you please inbox m Lisää

$240 USD 13 päivässä
(0 arvostelua)

Greetings, I am available to do your project. Your required task actually map on my skill sets. I have done many projects related this. I would love to do this with full dedication and hopefully won't make you feel lo Lisää

$100 USD 2 päivässä
(0 arvostelua)

You only need to handle the redirection returned by the server. I can do it for you. It is not really very hard, it's just a matter of looking carefully at what the server is responding.

$100 USD 1 päivässä
(0 arvostelua)

Hi there, I have good exp. In I'm working with java web apps as I have 14 + years of eco in IT industry in product dev space. I am confident that I can deliver this in 3 working days.

$155 USD 3 päivässä
(0 arvostelua)

Hello Sir/Ma'am, I have read your project description and i can do this work for you. Lets have a chat to discuss about it's details a bit more. Regards

$88 USD 2 päivässä
(0 arvostelua)