I am aware of the thread from a few months back on this subject, but the forum tips advise me to start a new thread.
I also need HTTP DELETE, but I'm unfortunately not as clever as the other posters in that thread and I need a little more guidance.
I've downloaded the source code from the link that Erel posted. I unzipped the file and found two files with the name HttpJob.bas that (with a brief examination) appear to be the same. Which one of these two files do I need to modify?
I found this code, which I presume is the HttpJob.Download sub referred to:
From Erel's post, it seems that I need to add a new sub using code like this:
But then what do I do exactly? I suspect that I have to compile the modified HttpJob.bas file into a library, and then replace the existing library, but the HttpJob.bas file doesn't seem to have the right file name.
Thanks, Peter
I also need HTTP DELETE, but I'm unfortunately not as clever as the other posters in that thread and I need a little more guidance.
I've downloaded the source code from the link that Erel posted. I unzipped the file and found two files with the name HttpJob.bas that (with a brief examination) appear to be the same. Which one of these two files do I need to modify?
I found this code, which I presume is the HttpJob.Download sub referred to:
B4X:
Public Sub Download(Link As String)
req.InitializeGet(Link)
CallSubDelayed2(HttpUtils2Service, "SubmitJob", Me)
End Sub
From Erel's post, it seems that I need to add a new sub using code like this:
B4X:
Public Sub Delete(Link As String)
req.InitializeDelete(Link)
CallSubDelayed2(HttpUtils2Service, "SubmitJob", Me)
End Sub
But then what do I do exactly? I suspect that I have to compile the modified HttpJob.bas file into a library, and then replace the existing library, but the HttpJob.bas file doesn't seem to have the right file name.
Thanks, Peter