HTTP POST with Basic Auth in Google Docs Spreadsheet API?
-
Can I do an HTTP POST with Basic Authentication in the Google Docs Spreadsheet API? I'm just beginning to learn the Google Docs Spreadsheet API, and I'm trying to reproduce some functionality that I've basically only been able to do in Excel with VBA AJAX hackery. Ironically, googling has failed me in finding an answer. (Googling might come up with the same question I've posted to stackoverflow today, though) I know that the Google Docs API provides the importData(URL) function, as well as a few related ones. However, I have 2 additional requirements here: First, I need to be able to pass Basic Authentication information (username,password) to the target URL, programmatically. (I might be able to use the "http://user:pass@server/..." syntax here, but that's a last resort) Second, I need to be able to send POST data to the URL, instead of GET data. How can I accomplish these things? If it involves something more complex than importData, I'm all for it. I just need to get the data from server A to document B.
-
Answer:
Are you trying to do this with a formula in a cell to reference outside information?
jozxyqk at Ask.Metafilter.Com Visit the source
Other answers
It's not something that needs to refresh in realtime, if that's what you mean. It will be triggered from a dialog box that asks a few questions to construct the POST args.
jozxyqk
Related Q & A:
- How to Post an XML in HTTP?Best solution by Stack Overflow
- How to trigger a script in Google Spreadsheet with .NET?Best solution by jotform.com
- How to Use Google Calendar API?Best solution by Stack Overflow
- What's wrong with this PHP Twitter API POST?Best solution by Stack Overflow
- Is there a Google Photos API?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.