Multiple headers with UnityWebRequest

I trying to make a Post request using UnityWebRequest, and the endpoint in using requires me to have 2 headers,but I get unknown http error cant really find any good info about doing this in the new unityWebRequest


What you do there is actually wrong. Since you post a multipart request the content type of the actual request has to be “multipart/mixed” and it needs to specify the boundary marker as well. This header should be set automatically and should not be modified by you. The MultipartFormDataSection constructor has an overload where you can specify the content type of that section. I guess the content types you want to set is the type of that section, right?