kqpham / phoneparser.js

MIT License
0 stars 4 forks source link

Added Function: Parsing a PDF file #5

Open kqpham opened 6 years ago

kqpham commented 6 years ago

retrieve a pdf file and parse the phone number to return as a response.

AbdulKabia commented 6 years ago

I'll look into this if you don't mind.

AbdulKabia commented 6 years ago

Hey, I'm having some trouble with the post function. Everytime I try to give it a run using Postman, I hit the 'File Not Found' error. I followed the instructions on installation and testing of the GET and POST functions, however, only the GET seems to give me an appropriate response.

kqpham commented 6 years ago

Hey Abdul,

Sorry for the late reply, I had gotten this file not found error at first as well with the code. However when using postman did you check if the header section is unchecked? I had gotten the error when I had it checked it. I have also put a screenshot of what I mean as well.[cid:c3335012-d296-47fc-893f-27c06530beff]


From: Abdul Kabia notifications@github.com Sent: Tuesday, February 13, 2018 2:36:42 PM To: kqpham/phoneparser.js Cc: Kevin Pham; Author Subject: Re: [kqpham/phoneparser.js] Added Function: Parsing a PDF file (#5)

Hey, I'm having some trouble with the post function. Everytime I try to give it a run using Postman, I hit the 'File Not Found' error. I followed the instructions on installation and testing of the GET and POST functions, however, only the GET seems to give me an appropriate response.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/kqpham/phoneparser.js/issues/5#issuecomment-365379074, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQaajWjYwmG43r_xvm8XcmVAcLeDr0Czks5tUeQ4gaJpZM4R_ENL.

AbdulKabia commented 6 years ago

Ah yes, I got it working. Started implementing the PDF reader, however, I seems to be running into some issues on the reading of the content. I'm curious, in your text what original content was in it? Because all I see is hashed content. I'm trying to replicate it.

This is the content I see in the text file: "NTE5NDU1NTA1MA0KNDE2Nzc0MDEyMw0KNjQ3NTUyMDEyMw=="