HTTP Post vbScript
This project was awarded to TakeReal for $34 USD.Get free quotes for a project like this
Project Budget$30 - $100 USD
I have some cars with GPS traking systems on. In order for my staff to ensure privacy during off work time, we can use a browser to hide/unhide the vehicle from our traking system.
I have written a vbScript that should use HTTP post to do the same. I.E. when I pass some parameters to the url the car should hide/unhide.
However, I dont really understand what I am doing here since I have largely copied internet articles for the HTTP Post part of my script.
I would like someone who understands vbScript to fix the problem in the script and also pass the web page response back as a parameter to use later in the script
I will provide the full script when I accept the bid but this should be enough for you to see the relevant part.
Also the error I get is as follows: Err.Number=-2147467259 Err.Source=[url removed, login to view] Err.Desc=Unspecified error
strUser = "auser"
strPassword = "password"
sVreg = "aa06+aaa"
sMode = "on" 'or off
part of the script that needs to be fixed is as follows;
sUrl = "<[url removed, login to view]>"
sRequest = "vehicle=" & sVreg & Chr(38) & "mode=" & sMode & Chr(38) _
& "username=" & strUser & Chr(38) & "password=" & strPassword
'Call the function to hide the vehicle
HTTPPost sUrl, sRequest
Function HTTPPost(sUrl, sRequest)
set oHTTP = CreateObject("[url removed, login to view]")
[url removed, login to view] "GET", sUrl & "?" & sRequest ,false
[url removed, login to view] "Content-Type", "application/x-www-form-urlencoded"
[url removed, login to view] "Content-Length", Len(sRequest)
HTTPPost = [url removed, login to view]
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
All windows versions >= 2000 supporting vbScript
Must be written in vbScript
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online