Please, provide the following version numbers that your issue occurs with:
CLI: 5.3.2
Runtime(s): 5.3.1
Plugin(s): 3.4.0
I'm trying to upload an image to my server using the following code.
fileUri contains the path to the image.
var request = {
url: "https://example.com/receiveImage",
method: "POST",
headers: {
"Content-Type": "application/octet-stream"
},
description: "{ 'uploading': " + name + " }"
};
var task = session.uploadFile(fileUri, request);
I can see the following logs, assuming the method worked.
However, in my server there is no request being received at all. (I used Postman to make sure my route is active, so the problem is not there).
Any ideas of what could be wrong? Thanks in advance.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
I'm trying to upload an image to my server using the following code. fileUri contains the path to the image.
I can see the following logs, assuming the method worked. However, in my server there is no request being received at all. (I used Postman to make sure my route is active, so the problem is not there).
Any ideas of what could be wrong? Thanks in advance.