I am using Alamofire in swift 5 and the APi are not workings as the headers at backend are case sensitive.
Is there a way to configure Alamofire to use http 1.1. and how can i achieve it
Alamofire sits on top of
URLSession and there's no way to tell
URLSession to use HTTP/1.1, so no, there's no way to configure this.
URLSession automatically negotiates for the better HTTP version, so it will use 2 if available, 1.1 as a fallback.
Generally this sounds like a backend bug, as HTTP headers are defined to not be case sensitive (mostly).