This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consumer_key = 'your-consumer-key' | |
consumer_secret = 'your-consumer-secret' | |
access_token = 'your-access-token' | |
access_secret = 'your-access-secret' |