StatusCode: Unauthorized
Content
Hi! I'm getting a problems with the connection between my code and REST API.
Was added in the header my authentication (Basic authentication) and header ("OSvC-CREST-Application-Context"), but a error appear.
**I'm using v1.3**
In attachment a error.
Code Snippet
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Net.Http; using System.IO; using Newtonsoft.Json; namespace ConsultAPI { class Program { static void Main(string[] args) { var client = new HttpClient(); Console.Write("Contact Id: "); string id = Console.ReadLine();
0