What is RestClient.Client used for? #403
-
I've been looking at RestClient.Client property lately and thought that I could execute requests against SharePoint using that HttpClient. But apparently, RestClient.Client doesn't have authorization header in it by default. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The REST client is just a http client, internally it's used to make the SP REST calls, the that adds the authorization header is internal. They key ask here seems to be "how can I perform a REST/Graph query and get the json results back without doing additional configuration work"...Correct? |
Beta Was this translation helpful? Give feedback.
The REST client is just a http client, internally it's used to make the SP REST calls, the that adds the authorization header is internal. They key ask here seems to be "how can I perform a REST/Graph query and get the json results back without doing additional configuration work"...Correct?