Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
adding curl script for testing project fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeck88 committed Nov 5, 2021
1 parent b158f87 commit 97a6fed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory contains helper scripts for working with the local contexts database.
8 changes: 8 additions & 0 deletions scripts/curl-format.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
time_namelookup: %{time_namelookup}s\n
time_connect: %{time_connect}s\n
time_appconnect: %{time_appconnect}s\n
time_pretransfer: %{time_pretransfer}s\n
time_redirect: %{time_redirect}s\n
time_starttransfer: %{time_starttransfer}s\n
----------\n
time_total: %{time_total}s\n
2 changes: 2 additions & 0 deletions scripts/curl-request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
curl -w "@curl-format.txt" -o /dev/null -s "https://localcontextshub.org/api/v1/projects/"

0 comments on commit 97a6fed

Please sign in to comment.