Skip to main content
1-Visitor
April 11, 2016
Question

How about Resources["ContentLoaderFunctions"].GetJSON(params) Cookies?

  • April 11, 2016
  • 0 replies
  • 1158 views

I want to get Web  information use  Resources["ContentLoaderFunctions"].GetJSON(params) , but web server want oAuth ,that need  Login at first, if login success, the  web server return a  string  and also with cookies , then I will use  http to get web information  next time.

my questions are 

1  how can i get  "HTTP/1.1 401 Unauthorized" in response?

2  how can i get cookies? to use Resources["ContentLoaderFunctions"].GetCookies ?

3   how to use these cookies when in following web request? these is no SetCookies method in ContentLoaderFunctions.