InitializeDelete on the other hand sends no data and the data encoded in the URL seems to be ignored (since that is not how the DELETE command works: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/DELETE ). So you are using two different methods for sending a DELETE command and you are getting two different results.
InitializeDelete2 sends data to the link you provided
InitializeDelete on the other hand sends no data and the data encoded in the URL seems to be ignored (since that is not how the DELETE command works: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/DELETE ). So you are using two different methods for sending a DELETE command and you are getting two different results.
FYI: Never used these methods before. But looking at your initial post the method is InitializeDelete2, not Delete2. If it does not exist in B4i, you may need to post another question and see if someone knows how to add it.
I am communicating with web service that use restful protocol for it
I can use in B4a but in B4i not send any data
It is important point in my app
Thanks
Dim j As HttpJob
j.Initialize("", Me)
j.PostBytes("link here ", "aaa".GetBytes("utf8"))
Dim no As NativeObject = j.GetRequest
no.GetField("object").RunMethod("setHTTPMethod:", Array("DELETE"))
Dim j As HttpJob
j.Initialize("", Me)
j.PostBytes("link here ", "aaa".GetBytes("utf8"))
Dim no As NativeObject = j.GetRequest
no.GetField("object").RunMethod("setHTTPMethod:", Array("DELETE"))
Dim j As HttpJob
j.Initialize("", Me)
j.PostBytes("link here ", "aaa".GetBytes("utf8"))
Dim no As NativeObject = j.GetRequest
no.GetField("object").RunMethod("setHTTPMethod:", Array("DELETE"))