문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | 마지막 판 양쪽 다음 판 | ||
comfilehmi:webapi:index [2023/07/26 10:15] Comfile Technology [6) 웹브라우저 주소창에서 사용시 제약 사항] |
comfilehmi:webapi:index [2023/07/26 10:15] Comfile Technology |
||
---|---|---|---|
줄 61: | 줄 61: | ||
'#' -> '%23' \\ '%' -> '%25' \\ '\' -> '%5C' (파일 경로일 경우 간단하게 '/'로도 치환 가능) | '#' -> '%23' \\ '%' -> '%25' \\ '\' -> '%5C' (파일 경로일 경우 간단하게 '/'로도 치환 가능) | ||
- | 예1) 192.168.0.20:9138/script/<html></html>/$a="3 나누기 5는 백분율로 60<html><font color="#ff0000">%25</font></html>입니다.";vars_to_json("$a") \\ 예2) 192.168.0.20:9138/open/<html></html>/storage card<html><font color="#ff0000">/</font></html>web_hmi.html \\ 예3) 192.168.0.20:9138/download/<html></html>/storage card<html><font color="#ff0000">/</font>sub<font color="#ff0000">/</font></html>data.bin \\ 예4) 192.168.0.20:9138/script//filenames_to_json("storage card<html><font color="#ff0000">/</font></html>dir") | + | 예1) 192.168.0.20:9138/script/<html></html>/$a="3 나누기 5는 백분율로 60<html><font color="#ff0000">%25</font></html>입니다.";vars_to_json("$a") \\ 예2) 192.168.0.20:9138/open/<html></html>/storage card<html><font color="#ff0000">/</font></html>web_hmi.html \\ 예3) 192.168.0.20:9138/download/<html></html>/storage card<html><font color="#ff0000">/</font>sub<font color="#ff0000">/</font></html>data.bin \\ 예4) 192.168.0.20:9138/script/filenames_to_json("storage card<html><font color="#ff0000">/</font></html>dir") |
===== 2. 응답 처리하는 방법 ===== | ===== 2. 응답 처리하는 방법 ===== |