Created by Jerry Wang, last modified on Dec 01, 2014
If the UI encounters the following error message:
The background fails to return the CSRF token. In normal Scenario, the X-CSRF-Token HTTP header whose command is Fetch will send a token Fetch request to the background, and the token will be returned in HTTP response:
And the token is used in the next HTTP post:
The token returns the following logic in the background:
Core Generation Logic in Line 6 FM:
For more of Jerry’s original articles, please follow the public account “Wang Zixi “: