The solution to the characters such as +, space, =, %, &, # and so on appear in the url parameter

When there are special symbols such as +, space, /,?, %, #, &, = in the url, the correct parameter value may not be obtained on the server side. What should I do?
Solution
Convert these characters into characters that can be recognized by the server, the corresponding relationship is as follows:
URL character escape Replace it

with other characters, or use full-width.

+ + sign in URL means space %2B  
space Space in URL can use + sign or encoding %20
/ separate directories and subdirectories %2F    
? separate actual URL and parameters %3F    
% specify special characters %25    
# indicate bookmarks %23    
& Separator between parameters specified in    
URL %26 = value of parameter specified in URL %3D

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326618862&siteId=291194637