GET api 查询解释“/”
GET api query interpretation of "/"
我正在使用 GET api 查询。在某一时刻,有一部分如下:
"... %20customer_list:/serviced/& ..."
我注意到查询在有和没有“/”的情况下都有效。总是这样吗?那那个字是干什么用的?
可以正常工作,但您必须确定是否需要使用“/”字符?例如:
myfile.aspx?myValue=user%20customer_list:/serviced/&...
当您请求 myValue 的值时,您将获得:
"user customer_list:/serviced/"
否则,如果您收到的值不带“/”:
"user customer_list:serviced"
这会导致您的实施失败吗?
我正在使用 GET api 查询。在某一时刻,有一部分如下:
"... %20customer_list:/serviced/& ..."
我注意到查询在有和没有“/”的情况下都有效。总是这样吗?那那个字是干什么用的?
可以正常工作,但您必须确定是否需要使用“/”字符?例如:
myfile.aspx?myValue=user%20customer_list:/serviced/&...
当您请求 myValue 的值时,您将获得:
"user customer_list:/serviced/"
否则,如果您收到的值不带“/”:
"user customer_list:serviced"
这会导致您的实施失败吗?