angularJS cookie read response value

前端 未结 2 1969
一个人的身影
一个人的身影 2021-01-06 06:38

if i made a request on my server with $http i the the followig response:

Request URL:http://www.test.tst/login
Request Method:GET
Status Code:200 OK
Request          


        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-06 07:20

    $cookies does provide the .get function that is $cookieScope

    If using $cookies you should just use $cookies.JSESSIONID

    Angular $cookies

    and

    Angular $cookieStore

提交回复
热议问题