add another test POST api

This commit is contained in:
Alessio Prato 2025-08-02 01:48:18 +02:00
parent abae53cb96
commit 686e395fcd
2 changed files with 41 additions and 1 deletions

View file

@ -51,6 +51,13 @@
.btn-post:hover {
background-color: #1976D2;
}
.btn-coordinates {
background-color: #FF9800;
color: white;
}
.btn-coordinates:hover {
background-color: #F57C00;
}
.result {
background-color: #f9f9f9;
border: 1px solid #ddd;
@ -86,6 +93,7 @@
<div class="button-group">
<button class="btn-get" onclick="getData()">📥 GET Data</button>
<button class="btn-post" onclick="createData()">📤 POST Data</button>
<button class="btn-coordinates" onclick="createCoordinates()">📍 POST Coordinates</button>
</div>
<div id="status"></div>