Added example_request_body_input

This commit is contained in:
Simon Redfern 2015-11-07 08:28:28 +00:00
parent f75a36715c
commit 778dab561a

View File

@ -111,12 +111,21 @@
<input type="hidden" name="request_verb_input" placeholder="GET, POST, PUT etc.">
<!-- The url_to_call is populated at render (but it can be edited manually) -->
<input type="text" name="request_url_input" class="default-input" placeholder="OBP URL to call">
<div name="example_request_body" style="display: block;">
<input name="example_request_body_input" class="default-input" placeholder="JSON body to POST or PUT">
<!-- TODO get this working: <textarea name="request_body_input" form="form1">Enter text here...</textarea> -->
</div>
<button name="call_button" class="default-button">POST</button>
</form>
</div>
<div class="content-box__info-box">
<div name="result"></div>
<!--
<!-- TODO: This should hide the result
<img src="./media/images/close-icon.png" alt="Close icon" class="content-box__close-icon">
-->
</div>