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:
- /CURL/CURLS Amazon S3 pre-signed URL
- /CURL/CURLS Amazon S3 upload
- /CURL/CURLS connect try
- /CURL/CURLS picture download
- /CURL/CURLS pop3 email delete
- /CURL/CURLS post form values/CURLS post form values
- /CURL/CURLS post form/CURLS post form
- /CURL/CURLS SSL verification/CURLS SSL verification
- /CURL/CURLS threaded download
- /CURL/CURLS upload to Web App/CURLS upload to Web App
The items on this page are in the following plugins: MBS CURL Plugin.