Template:APIBrowser: Difference between revisions
Template page
No edit summary |
No edit summary |
||
(39 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
} | } | ||
.apiBrowser input, .apiBrowser select { | .apiBrowser input, .apiBrowser select { | ||
padding: | padding: 20px; | ||
border-radius: 5px; | border-radius: 5px; | ||
font-size: 1em; | |||
} | } | ||
.apiBrowser .response { | .apiBrowser .response { | ||
Line 16: | Line 17: | ||
max-height: 200px; | max-height: 200px; | ||
overflow-y: scroll; | overflow-y: scroll; | ||
color: #000; | |||
border-radius: 5px; | |||
padding:10px; | |||
} | |||
.apiBrowser .prefix { | |||
margin-right:-95px; | |||
} | |||
.apiBrowser .url { | |||
padding-left:95px; | |||
width: 100%; | |||
} | |||
.apiBrowser button{ | |||
border:0px solid; | |||
border-radius: 10px; | |||
background-color: var(--color-primary); | |||
color: #fff; | |||
padding: 0px 30px; | |||
margin-left:20%; | |||
font-size: 14px; | |||
} | |||
.apiBrowser button:hover{background:var(--color-primary--hover);} | |||
.apiBrowser .urlBar { | |||
display:flex; | |||
} | } | ||
</style> | </style> | ||
<div class="apiBrowser"> | <div class="apiBrowser"> | ||
<input> | <div class="urlBar"> | ||
<div style="display:flex;align-items: center;margin-left: 10px;flex: 1;"> | |||
<span class="prefix">bigid/api/v1/</span> | |||
<input class="url"> | |||
</div> | |||
<select> | <select> | ||
<option>GET</option> | <option>GET</option> | ||
<option>POST</option> | <option>POST</option> | ||
</select> | </select> | ||
<div class="response"> | <button>Execute</button> | ||
</div> | |||
<div class="response">Execute a request to view the data...</div> | |||
</div> | </div> | ||
</html> | </html> |
Latest revision as of 18:54, 6 July 2021
bigid/api/v1/
Execute a request to view the data...