Wikipedia para siempre
ShareCode
Permalink: http://www.treeweb.es/u/974/ 01/02/2011

ShareCode

1 <!DOCTYPE html>2 <html lang="en">3 <head>4  <meta charset="UTF-8">5  <meta name="viewport" content="width=device-width, initial-scale=1.0">6  <title>Flowtest Editor</title>7  <link rel="stylesheet" href="styles.css">8 </head>9 <body>10  <div class="container">11  <form>12  <!-- Variables Section -->13  <div class="card">14  <h2>Variables</h2>15  <div class="form-group">16  <label for="variable-name">Variable Name</label>17  <input type="text" id="variable-name">18  </div>19  <div class="form-group">20  <label for="variable-value">Variable Value</label>21  <input type="text" id="variable-value">22  </div>23  <button type="button" onclick="addVariable()">Add Variable</button>24  <ul id="variables-list"></ul>25  </div>26 27  <!-- HTTP Requests Section -->28  <div class="card">29  <h2>HTTP Requests</h2>30  <div class="form-group">31  <label for="http-method">HTTP Method</label>32  <select id="http-method">33  <option value="GET">GET</option>34  <option value="POST">POST</option>35  <option value="PUT">PUT</option>36  <option value="DELETE">DELETE</option>37  </select>38  </div>39  <div class="form-group">40  <label for="api-url">API URL</label>41  <input type="text" id="api-url">42  </div>43  <div class="form-group">44  <label for="headers">Headers (JSON)</label>45  <textarea id="headers" rows="2"></textarea>46  </div>47  <div class="form-group">48  <label for="request-body">Request Body</label>49  <textarea id="request-body" rows="4"></textarea>50  </div>51  <button type="button" onclick="addRequest()">Add Request</button>52  <ul id="requests-list"></ul>53  </div>54 55  <!-- Assertions Section -->56  <div class="card">57  <h2>Assertions</h2>58  <div class="form-group">59  <label for="assertion-expression">Assertion Expression</label>60  <input type="text" id="assertion-expression">61  </div>62  <button type="button" onclick="addAssertion()">Add Assertion</button>63  <ul id="assertions-list"></ul>64  </div>65 66  <!-- Save Button -->67  <button type="button" onclick="saveTest()">Save Test</button>68  </form>69  </div>70 71  <script src="script.js"></script>72 </body>73 </html>74 
Enlace
El enlace para compartir es: