Hello there,
I wanna thank u for the hard work u have invested to build this Flutter package so many people can get benefit from it. I was trying to upload an image to the api but I did not know how to make this work. Can u please give me an example for that. Thank u in advance.
This is what I have done:
Hello there, I wanna thank u for the hard work u have invested to build this Flutter package so many people can get benefit from it. I was trying to upload an image to the api but I did not know how to make this work. Can u please give me an example for that. Thank u in advance. This is what I have done:
NTLMClient client = NTLMClient( domain: "", workstation: "LAPTOP", username: "username", password: "password", ); await client .post( Uri.parse( 'https://someWebsite/'), body: File('imagePath').toString(), ) .then((res) { print(res.body); });
But it did not seem to work.