Function description
- In the API docking process, you need to log in to the API to obtain the session number. If the user's password contains special characters, the special characters need to be translated to obtain the session number normally.
Problem phenomenon
As shown in the following figure, the password of the api call link account is right, and the web can also log in. The call prompts that the login fails;

Operating instructions
URL special characters need to be escaped, special character# converted to% 23

Precautions
Generally, there is no need to turn, such as# & this kind of influential needs to be turned.
| Before translation | effect | After translation |
|---|---|---|
| + | The+sign in the URL represents a space | %2B |
| / | Used to split directories and subdirectories | %2F |
| ? | Used to split request URLs and parameters | %3F |
| % | Used to specify special characters | %25 |
| # | Used to represent bookmarks | %23 |
| & | Indicate the delimiter between the parameters specified in the URL | %26 |
| = | Represents the value of the parameter specified in the URL | %3D |
| Space | Spaces in URLs can be marked with a+sign or encoded | %20 |
| @ | %40 |