Platforms to show: All Mac Windows Linux Cross-Platform

/CURL/CURLS headers


Required plugins for this example: MBS CURL Plugin

Last modified Wed, 3rd Jan 2023.

You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /CURL/CURLS headers

Download this example: CURLS headers.zip

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:

Download this example: CURLS headers.zip

The items on this page are in the following plugins: MBS CURL Plugin.


The biggest plugin in space...