PDF File returned from JSON response as Binary Data
$10-30 USD
Paid on delivery
I am developing a whatsapp chatbot and I receive PDF files from customers submitted to the chatbot.
I am able to receive the file by making a GET call to url provided to me by facebook as seen below:
curl -X GET 'URL' \
-H 'Authorization: Bearer ACCESS_TOKEN' > media_file
Issue is, facebook returns response as binary data of media saved in media_file with response headers containing a content-type header to indicate the mime type of returned data.
I am not able to handle this response in php, and I will like to display file in browser or download to user PC after getting the data returned.
Task is to basically allow returned data to either show in web browser or allow user to download to PC.
I will provide URL and Access Token.
Project ID: #34365463
About the project
Awarded to:
Hi the binary data can be converted to base64 and it can be triggered to pdf header so users can download it. I can write this function in your existing script. Thanks.
7 freelancers are bidding on average $23 for this job
Hello Sir I can retrieve the file and make them downloadable. I am willing to start right away. Please check my profile for work and experience. Regards Hardeep.
Hi, Thanks for giving me a chance to bid on your project. As per your requirements, I can design and develop your website on the required theme you want. About Me: • I have more than 5 yrs of experience in PHP, SQL, R More
Hello I read your description and I can do it in 1 hour. It is really no problem for me. Looking forward message from you. Thanks
I can easily do this. Let me inspect the details. We just need to set correct headers for php. After that it will opened in browser. If browser is old and do not support pdf view it will download.
I have a experience in asp.net, MVC, web API, c#, SQL, entity framework,linq, razor view (Cshtl), html, bootstrap,Angular JS, Jquery, Json,XML, reports (PDF,xls, crystal, rdlc,ssrs).
Hello sir so first thing that make me best for this project is it's my type of project because I do so many works on content writing , artical writing and I'm very hard working as well as smart working person. I want More