Adding Authorisation head in api

When I use code "request.Headers.Add("Authorization","2xxxxxD-100:eyJ0e.............................4");"

an error message "System.FormatException: The format of value

'2xxxxxD-100:eyJ0e...…..1z1k4' is invalid." is thrown.

Can any one provide me valid format

I am using a csharp app

Thanks

5 replies