php - What is a "Payload"? e.g XML Payload -
while browsing web service docs, came across word "payload", "xml payload" ...
from wikipedia: "*payload in computing (sometimes referred actual or body data) cargo of data transmission. *"
does not make sense here. can explain payload / xml payload mean? thanks.
they "payload" actual contents, opposed wrapper, boilerplate xml around (meta-data, document type , such). such, variable part of reply.
the wikipedia definition makes perfect sense me, "non payload" xml in these examples uninteresting. xml outside wrapping, , payload contents ("cargo").
note "escaped payload" indicates contents other format, may xml escaped. binary data, escaped cdata or base64, example. there could jpeg image there, example (if correctly escaped). or html, encoded xml entities. payload example be:
<div>example</div>
which simple example xml-escaped-html payload, when there no reason message xml parser parse (xml-like) payload.
Comments
Post a Comment