Template:APIBrowser: Difference between revisions

Template page
No edit summary
No edit summary
 
(35 intermediate revisions by the same user not shown)
Line 7: Line 7:
}
}
.apiBrowser input, .apiBrowser select {
.apiBrowser input, .apiBrowser select {
     padding: 5px;
     padding: 20px;
     border-radius: 5px;
     border-radius: 5px;
     font-size: 1.5em;
     font-size: 1em;
}
}
.apiBrowser .response {
.apiBrowser .response {
Line 20: Line 20:
     border-radius: 5px;
     border-radius: 5px;
     padding:10px;
     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">Response data</div>
<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...