Example: /CURL/CURLS upload to Web App/Web Upload Receiver

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

/CURL/CURLS upload to Web App/Web Upload Receiver


Required plugins for this example:

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /CURL/CURLS upload to Web App/Web Upload Receiver

This example is the version from Mon, 6th Nov 2022.

Project "Web Upload Receiver.xojo_binary_project"
Class App Inherits WebApplication
EventHandler Function HandleURL(Request As WebRequest, Response As WebResponse) As Boolean Dim r As String = Request.Body Dim msg As String = "Received request with "+Str(Len(r))+" bytes attached." Dim c As Integer = SessionCount-1 For i As Integer = 0 To c Dim s As session = session(app.SessionAt(i)) s.WebPage1.ListBox1.AddRow msg Next Response.Status = 200 Return True End EventHandler
End Class
End Project

See also:

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


💬 Ask a question or report a problem