Skip to main content
Question

read word document inside the QB

  • August 25, 2020
  • 0 replies
  • 59 views

Hi All,

i am trying to read the word  document  inside the quickbase but i am getting issue.

what i am trying to do.

1.   get the ticket from the API_Authenticate 
2. pass the ticket in to Do_query API to get the document URL where  attached my word document.  
3. but i m trying to read it it giving me all sign in page HTML and CSS.

I am able to read the word document from my local but unable to read it  from Quickbase.


Thanks

------------------------------
preeti verma
------------------------------
This topic has been closed for replies.

  • Registered
  • August 25, 2020
What is the ultimate goal here? You want to load the word document in your web browser and view it like that? 

When using the requests module it will send you back the raw HTML like you are seeing. You are running it in something like Google Collab? You are running a DoQuery and then seeing the results of that printed out. If you do the same DoQuery via a URL manually you would see the same thing in your browser. That is a success message telling you that everything worked. However it is not doing what you expect it to.

If you want to load a file you need to figure out the link first and then do the same GET request but for the exact file you want and that should return the raw file to you, so all the text.