Hello! At the moment I'm building a webservice that is supposed to externally upload a file to Creatio using a request to FileApiService. I've analyzed the request that Creatio makes when a file is uploaded via the normal Creatio interface. I've also copied this request into my own webservice and it works there as well.
However, when I copy the whole request it uses the authorization cookie that was created when I logged into Creatio. Ideally, the the webservice should log it self into Creatio and uses it's own authorization cookie. I've followed the documentation and used AuthService.svc to do this, but without success. When I use the cookie created by AuthService.svc, I always get a 401 "Unauthorized" error message. Strangely however, I am able to use this cookie to successfully send OData requests, only the fileupload is not possible.
Any help with this problem would be greatly appreciated.