´ñ±Û : 4 °³
Çѱ¹ µ¨ÆÄÀÌ µ¿È£È¸ µ¨¸¶´ç
µþ±â
(À̼º¹Î)
 
"{}" ¹®ÀÚ Àü¼Û ½Ã URL EncodingÀ» ÅëÇؼ­ "%7B%7D" ÀÌ·¸°Ô Àü¼ÛµÇ´Â°Ô ´ç¿¬ÇÑ°Å ¾Æ´Ñ°¡¿ä??

´Ù¸¥ Rest Clientµµ±¸¸¦ »ç¿ëÇؼ­ Çѹø Å×½ºÆ®¸¦ Çغ¸¼¼¿ä.

Àú´Â Å©·Ò¿¡¼­ ÀÌ°Å ½á¿ä.

https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo

 
2020-10-23 ¿ÀÀü 9:32:50
¸ÅºòÇÁ·Î¯
(¸ÅºòÇÁ·Î¯)
 
´äº¯ °¨»çÇÕ´Ï´Ù.
soapui ¿¡¼­ body json ¹®ÀÚ¿­¿¡ "{}" ´ë½Å "%7B%7D" À» ÀÔ·ÂÇصµ ¶È°°Àº °á°ú(»çÀÌÁî 6 Æ÷ÇÔ)¸¦ ¸®ÅÏÇÕ´Ï´Ù.
Áï, soapui ¿¡¼­ "%7B%7D" ¹®ÀÚ ´ë½Å "{}" ÀԷ ±×´ë·Î ¿äûÇÏ°Ô µÇ¸é ¿øÇϴ ¸®ÅÏ°ªÀÌ Á¶È¸µË´Ï´Ù.

¿äû½Ã ¼ö½ÅÃø¿¡ Àü´ÞµÉ¶§±îÁö "%7B%7D" °¡ ¾Æ´Ñ "{}" ·Î Àü´ÞµÇ°Ô ÇÒ ÇÊ¿ä°¡ À־¿ä.

Ãß°¡·Î ¿¹¸¦µé¸é "{abc123°¡³ª´Ù}" ¸¦ Àü´ÞÇϸ頼ö½ÅÃø¿¡´Â "%7Babc123%AC00%B098%B2E4%7D" ·Î ¹Þ¾ÆÁö´õ±º¿ä, ansi º¯È¯ÀÎÁö´Â ¸ð¸£Áö¸¸¿ä. 
2020-10-23 ¿ÀÀü 10:05:28
µþ±â
(À̼º¹Î)
 
addbody ÆĶó¹ÌÅÍ·Î

sBodyString : string;

À» ³Ñ±âÁö ¸¶½Ã°í TJSONObject¸¦ »ç¿ëÇغ¸¼¼¿ä.... 
2020-10-23 ¿ÀÀü 10:22:50
¸ÅºòÇÁ·Î¯
(¸ÅºòÇÁ·Î¯)
 
jsonobject ·Î ³Ñ°Üµµ µ¿ÀÏÇϳ׿ä.


      jsonObject := TJSONObject.Create;
      jsonObject.AddPair(TJSONPair.Create('ShipmentRequest',TJSONString.Create('123')));
      jsonObject.AddPair(TJSONPair.Create('name',TJSONString.Create('123')));
      jsonObject.AddPair(TJSONPair.Create('price',TJSONString.Create('123')));

ÀԷ : "{"ShipmentRequest":"123","name":"123","price":"123"}"
¼ö½Å : "%7B%22members%22%3A%7B%22list%22%3A%7B%22items%22%3A%5B%7B%22jsonString%22%3A%7B%22strBuffer%22%3A%7B%22data%22%3A%5B%22S%22%2C%22h%22%2C%22i%22%2C%22p%22%2C%22m%22%2C%22e%22%2C%22n%22%2C%22t%22%2C%22R%22%2C%22e%22%2C%22q%22%2C%22u%22%2C%22e%22%2C%22s%22%2C%22t%22%2C%22%22%5D%2C%22length%22%3A15%2C%22maxCapacity%22%3A2147483647%7D%2C%22owned%22%3Atrue%7D%2C%22jsonValue%22%3A%7B%22strBuffer%22%3A%7B%22data%22%3A%5B%221%22%2C%222%22%2C%223%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%5D%2C%22length%22%3A3%2C%22maxCapacity%22%3A2147483647%7D%2C%22owned%22%3Atrue%7D%2C%22owned%22%3Atrue%7D%2C%7B%22jsonString%22%3A%7B%22strBuffer%22%3A%7B%22data%22%3A%5B%22n%22%2C%22a%22%2C%22m%22%2C%22e%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%5D%2C%22length%22%3A4%2C%22maxCapacity%22%3A2147483647%7D%2C%22owned%22%3Atrue%7D%2C%22jsonValue%22%3A%7B%22strBuffer%22%3A%7B%22data%22%3A%5B%221%22%2C%222%22%2C%223%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%5D%2C%22length%22%3A3%2C%22maxCapacity%22%3A2147483647%7D%2C%22owned%22%3Atrue%7D%2C%22owned%22%3Atrue%7D%2C%7B%22jsonString%22%3A%7B%22strBuffer%22%3A%7B%22data%22%3A%5B%22p%22%2C%22r%22%2C%22i%22%2C%22c%22%2C%22e%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%5D%2C%22length%22%3A5%2C%22maxCapacity%22%3A2147483647%7D%2C%22owned%22%3Atrue%7D%2C%22jsonValue%22%3A%7B%22strBuffer%22%3A%7B%22data%22%3A%5B%221%22%2C%222%22%2C%223%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%2C%22%22%5D%2C%22length%22%3A3%2C%22maxCapacity%22%3A2147483647%7D%2C%22owned%22%3Atrue%7D%2C%22owned%22%3Atrue%7D%2Cnull%5D%2C%22count%22%3A3%2C%22arrayManager%22%3A%7B%7D%7D%7D%2C%22owned%22%3Atrue%7D" 
2020-10-23 ¿ÀÀü 11:25:58