Platforms to show: All Mac Windows Linux Cross-Platform
Required plugins for this example: MBS CURL Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /CURL/CURLS headers
This example is the version from Wed, 3rd Jan 2023.
Project "CURLS headers.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control url Inherits TextField
ControlInstance url Inherits TextField
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action()
Run
End EventHandler
End Control
Control out Inherits TextArea
ControlInstance out Inherits TextArea
End Control
Sub Run()
dim c as new CURLSMBS
// this example sends a xml request to a server
c.OptionVerbose=true
c.OptionURL = url.Text
c.OptionHeader=true
c.OptionNoBody=true
msgbox "Result: "+str(c.Perform)
out.Text = c.OutputData
End Sub
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project
See also:
- /CURL/CURLS Amazon S3 pre-signed URL
- /CURL/CURLS info
- /CURL/CURLS Low Level Sockets
- /CURL/CURLS post form values/CURLS post form values
- /CURL/CURLS post form values/CURLS post form values old
- /CURL/CURLS query
- /CURL/CURLS query file size
- /CURL/CURLS resume download with speed measurement
- /CURL/CURLS SSL verification/CURLS SSL verification
- /CURL/CURLS upload to Web App/Web Upload Receiver
The items on this page are in the following plugins: MBS CURL Plugin.