I haven’t found that entry on the API v1 documentation, can you provide additional info about the parameters?
The API v2 reference doesn’t talk about the parameters, is it supposed to store the request body as the uploaded file? It uses the last file uploaded on the same session or the last uploaded file of all sessions?
Thanks for your answer, but, while AR150 interface doesn’t show 3.025 as an update for the firmware, I’m working with the 3.017 version, which remains on v1 API.
If you’re trying to accomplish this in C# (RestSharp specifically) it would look something like this…
var fileBytes = File.ReadAllBytes(@"C:\myprofile.ovpn");
var request = new RestRequest("ovpn/client/upload");
request.AddHeader("Authorization", _authToken);
request.AddFile("file", fileBytes, "myprofile.ovpn");
var response = _restClient.Post<BaseResponse>(request);