cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

ctang1
1-Visitor

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

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.

0 REPLIES 0
Announcements


Top Tags