cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

How can this Encode URI be restored correctly?

This is the request parameter for POST.

 jj="query=A%E8%82%A1&urp_sort_way=desc&urp_sort_index=%E8%82%A1%E7%A5%A8%E5%B8%82%E5%9C%BA%E7%B1%BB%E5%9E%8B&page="||char(k)||"&perpage=100&addheaderindexes=&condition=%5B%7B%22dateText%22%3A%22%22%2C%22ci%22%3Atrue%2C%22indexName%22%3A%22%E8%82%A1%E7%A5%A8%E5%B8%82%E5%9C%BA%E7%B1%BB%E5%9E%8B%22%2C%22indexProperties%22%3A%5B%22%E5%8C%85%E5%90%ABa%E8%82%A1%22%5D%2C%22source%22%3A%22text2sql%22%2C%22type%22%3A%22index%22%2C%22indexPropertiesMap%22%3A%7B%22%E5%8C%85%E5%90%AB%22%3A%22a%E8%82%A1%22%7D%2C%22reportType%22%3A%22null%22%2C%22score%22%3A0%2C%22ciChunk%22%3A%22a%E8%82%A1%22%2C%22createBy%22%3A%22preCache%22%2C%22node_type%22%3A%22index%22%2C%22chunkedResult%22%3A%22a%E8%82%A1%22%2C%22domain%22%3A%22abs_%E8%82%A1%E7%A5%A8%E9%A2%86%E5%9F%9F%22%2C%22uiText%22%3A%22%E8%82%A1%E7%A5%A8%E5%B8%82%E5%9C%BA%E7%B1%BB%E5%9E%8B%E5%8C%85%E5%90%ABa%E8%82%A1%22%2C%22valueType%22%3A%22_%E8%82%A1%E7%A5%A8%E5%B8%82%E5%9C%BA%E7%B1%BB%E5%9E%8B%22%2C%22sonSize%22%3A0%7D%5D&codelist=&indexnamelimit=&logid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&ret=json_all&sessionid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&source=Ths_iwencai_Xuangu&date_range%5B0%5D="||dd||"&iwc_token=0ac9e84917630285903635912&urp_use_sort=1&user_id=Ths_iwencai_Xuangu_26xzxlyxjiwlbmavfeagegjldipdrrp9&uuids%5B0%5D=24087&query_type=stock&comp_id=6836372&business_cat=soniu&uuid=24087";

no Encode URI("");

query=AZ&urp_sort_way=desc&urp_sort_index=ZZZZZZ&page="||char(k)||"&perpage=100&addheaderindexes=&condition=[{"dateText":"","ci":true,"indexName":"ZZZZZZ","indexProperties":["ZZaZ"],"source":"text2sql","type":"index","indexPropertiesMap":{"ZZ":"aZ"},"reportType":"null","score":0,"ciChunk":"aZ","createBy":"preCache","node_type":"index","chunkedResult":"aZ","domain":"abs_ZZZZ","uiText":"ZZZZZZZZaZ","valueType":"_ZZZZZZ","sonSize":0}]&codelist=&indexnamelimit=&logid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&ret=json_all&sessionid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&source=Ths_iwencai_Xuangu&date_range[0]="||dd||"&iwc_token=0ac9e84917630285903635912&urp_use_sort=1&user_id=Ths_iwencai_Xuangu_26xzxlyxjiwlbmavfeagegjldipdrrp9&uuids[0]=24087&query_type=stock&comp_id=6836372&business_cat=soniu&uuid=24087



I tried several methods but none of them got the correct result.

1

 jj="\[query=AZ&urp_sort_way=desc&urp_sort_index=ZZZZZZ&page="||char(k)||"&perpage=100&addheaderindexes=&condition=[{"dateText":"","ci":true,"indexName":"ZZZZZZ","indexProperties":["ZZaZ"],"source":"text2sql","type":"index","indexPropertiesMap":{"ZZ":"aZ"},"reportType":"null","score":0,"ciChunk":"aZ","createBy":"preCache","node_type":"index","chunkedResult":"aZ","domain":"abs_ZZZZ","uiText":"ZZZZZZZZaZ","valueType":"_ZZZZZZ","sonSize":0}]&codelist=&indexnamelimit=&logid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&ret=json_all&sessionid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&source=Ths_iwencai_Xuangu&date_range[0]="||dd||"&iwc_token=0ac9e84917630285903635912&urp_use_sort=1&user_id=Ths_iwencai_Xuangu_26xzxlyxjiwlbmavfeagegjldipdrrp9&uuids[0]=24087&query_type=stock&comp_id=6836372&business_cat=soniu&uuid=24087]\";



2

 jj="query=AZ&urp_sort_way=desc&urp_sort_index=ZZZZZZ&page=\!"||char(k)||\!"&perpage=100&addheaderindexes=&condition=[{\!"dateText\!":\!"\!",\!"ci\!":true,\!"indexName\!":\!"ZZZZZZ\!",\!"indexProperties\!":[\!"ZZaZ\!"],\!"source\!":\!"text2sql\!",\!"type\!":\!"index\!",\!"indexPropertiesMap\!":{\!"ZZ\!":\!"aZ\!"},\!"reportType\!":\!"null\!",\!"score\!":0,\!"ciChunk\!":\!"aZ\!",\!"createBy\!":\!"preCache\!",\!"node_type\!":\!"index\!",\!"chunkedResult\!":\!"aZ\!",\!"domain\!":\!"abs_ZZZZ\!",\!"uiText\!":\!"ZZZZZZZZaZ\!",\!"valueType\!":\!"_ZZZZZZ\!",\!"sonSize\!":0}]&codelist=&indexnamelimit=&logid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&ret=json_all&sessionid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&source=Ths_iwencai_Xuangu&date_range[0]=\!"||dd||\!"&iwc_token=0ac9e84917630285903635912&urp_use_sort=1&user_id=Ths_iwencai_Xuangu_26xzxlyxjiwlbmavfeagegjldipdrrp9&uuids[0]=24087&query_type=stock&comp_id=6836372&business_cat=soniu&uuid=24087";



Thanks Experts!


 

3 REPLIES 3
jthi
Super User

Re: How can this Encode URI be restored correctly?

Build the string and then use Decode URI()? 

-Jarmo
lala
Level IX

Re: How can this Encode URI be restored correctly?

Thanks Experts!
I see
2025-11-13_18-37-19.png

lala
Level IX

Re: How can this Encode URI be restored correctly?

jj="query=AZ&urp_sort_way=desc&urp_sort_index=ZZZZZZ&page="||char(k)||"&perpage=100&addheaderindexes=&condition=[{\!"dateText\!":\!"\!",\!"ci\!":true,\!"indexName\!":\!"ZZZZZZ\!",\!"indexProperties\!":[\!"ZZaZ\!"],\!"source\!":\!"text2sql\!",\!"type\!":\!"index\!",\!"indexPropertiesMap\!":{\!"ZZ\!":\!"aZ\!"},\!"reportType\!":\!"null\!",\!"score\!":0,\!"ciChunk\!":\!"aZ\!",\!"createBy\!":\!"preCache\!",\!"node_type\!":\!"index\!",\!"chunkedResult\!":\!"aZ\!",\!"domain\!":\!"abs_ZZZZ\!",\!"uiText\!":\!"ZZZZZZZZaZ\!",\!"valueType\!":\!"_ZZZZZZ\!",\!"sonSize\!":0}]&codelist=&indexnamelimit=&logid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&ret=json_all&sessionid=9e773e4ff7f0b6cba03f4d9cf8c7d6e0&source=Ths_iwencai_Xuangu&date_range[0]="||dd||"&iwc_token=0ac9e84917630285903635912&urp_use_sort=1&user_id=Ths_iwencai_Xuangu_26xzxlyxjiwlbmavfeagegjldipdrrp9&uuids[0]=24087&query_type=stock&comp_id=6836372&business_cat=soniu&uuid=24087";

Recommended Articles