Skip to content

Commit

Permalink
Add HEAD method
Browse files Browse the repository at this point in the history
So services can use the HEAD method to check websites. This has the added benefit of not loading big pages and thus being more lightweight.
  • Loading branch information
sndrr authored Aug 3, 2022
1 parent 6277cc4 commit cb3cfb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/forms/Service.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,13 @@
<div class="col-sm-8">
<select v-model="service.method" name="method" class="form-control">
<option value="GET" >GET</option>
<option value="HEAD" >HEAD</option>
<option value="POST" >POST</option>
<option value="DELETE" >DELETE</option>
<option value="PATCH" >PATCH</option>
<option value="PUT" >PUT</option>
</select>
<small class="form-text text-muted">A GET request will simply request the endpoint, you can also send data with POST.</small>
<small class="form-text text-muted">A GET/HEAD request will simply request the endpoint, you can also send data with POST.</small>
</div>
</div>

Expand Down

0 comments on commit cb3cfb7

Please sign in to comment.