>_ RESTERM
v1.18.2

examples Start here

xml.http

XML bodies and explicit inline angle-prefixed text.

runs as-is

shell
resterm run --all _examples/xml.http

Run this from the root of a clone of the Resterm repository.

Editor
### XML Echo
# @name xmlEcho
# @tag body xml
POST {{base.url}}/anything/xml
Content-Type: application/xml
Accept: application/json

<?xml version="1.0" encoding="UTF-8"?>
<order id="123">
  <customer>
    <name>Ada Lovelace</name>
    <email>[email protected]</email>
  </customer>
  <items>
    <item sku="book-001" quantity="2">Notebook</item>
  </items>
</order>

### Inline Angle Text
# @name inlineAngleText
# @tag body inline
# @body inline
POST {{base.url}}/anything/inline-angle
Content-Type: text/plain
Accept: application/json

< this is literal text, not a body file reference

_examples/xml.http on GitHub

Body content docs
Search

↑↓ moveEnter openEsc close

Help

These keys work like the ones in the TUI.

/
Search the docs (also Ctrl K)
j k
Scroll down and up
g g G
Jump to the top or the bottom
[ ]
Previous and next page
g d
Docs index
g h
Home page
t
Switch between dark and light
?
Show this help
Esc
Close a dialog