Using Excel VBA To Send HTTP GET Request To Web Server
Có thể bạn quan tâm
Skip to content All gists Back to GitHub Sign in Sign up Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }}
remoharsono/Excel VBA - Send GET Request Created August 28, 2014 05:51 Show Gist options
Copy link
Copy link
Instantly share code, notes, and snippets.
- Download ZIP
- Star ( ) You must be signed in to star a gist
- Fork ( ) You must be signed in to fork a gist
- Embed Clone this repository at <script src="https://gist.github.com/remoharsono/2a90bfb67c31fc68cfd3.js"></script>
- Save remoharsono/2a90bfb67c31fc68cfd3 to your computer and use it in GitHub Desktop.
Private Sub cmdKirimGET_Click() |
Dim strResult As String |
Dim objHTTP As Object |
Dim URL As String |
Set objHTTP = CreateObject("WinHttp.WinHttpRequest.5.1") |
URL = "http://localhost/search.php" |
objHTTP.Open "GET", URL, False |
objHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" |
objHTTP.setRequestHeader "Content-type", "application/x-www-form-urlencoded" |
objHTTP.send ("keyword=php") |
strResult = objHTTP.responseText |
Worksheets("Sheet1").Range("A10:A10") = strResult |
End Sub |
AhmedBermo commented Dec 10, 2021
what does objHTTP.send ("keyword=php") do?
Sorry, something went wrong.
alisonjr commented Feb 1, 2023
thanks!! 🎉🎉🎊
Sorry, something went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment You can’t perform that action at this time.Từ khóa » Visual Basic Excel Send Http Request
-
How Can I Send An HTTP POST Request To A Server From Excel Using ...
-
Excel HTTP Get Request Using VBA | Excelerator.Solutions
-
Excel VBA Introduction Part 47.5 - Basic HTTP GET And ... - YouTube
-
HTTP POST API Using Excel/VBA - YouTube
-
How Send An HTTP POST Request To A Server From Excel Using VBA?
-
XmlHttpRequest - Http Requests In Excel VBA - Coding Is Love
-
Excel Vba Send HTTP POST To Server Code Example
-
VBA HTTP POST Requests With Google Forms Demo
-
VBA HTTP GET Requests With API And ServerXMLHTTP60
-
How To Apply VBA Macro API POST Method To HTTP Power Automate
-
How Can I Send An HTTP POST Request To A Server From ... - Vue.js
-
Part 1: Send HTTP Request For Each Row In Excel Table
-
Pass Parameters In Vba Http Post Request
-
VBA Http Post Request - Postman Key/value/body Provided - Mr. Excel