aboutsummaryrefslogtreecommitdiff
path: root/pkg/types
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2022-04-26 16:52:52 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2022-04-26 19:39:55 +0200
commite4599334cf434f65cd49f92b604546acd39d4c39 (patch)
treed3fdde1f246ba16f4d92885ce7c5211906744469 /pkg/types
parent2dcd7bca2f3e69fb6f1770ec0bf740d8956978ca (diff)
add url parsing for get-requests with input
Pair-programmed with ln5.
Diffstat (limited to 'pkg/types')
-rw-r--r--pkg/types/endpoint.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/types/endpoint.go b/pkg/types/endpoint.go
index 0e4bab2..b93d2f6 100644
--- a/pkg/types/endpoint.go
+++ b/pkg/types/endpoint.go
@@ -10,9 +10,9 @@ const (
EndpointGetTreeHeadLatest = Endpoint("get-tree-head-latest")
EndpointGetTreeHeadToSign = Endpoint("get-tree-head-to-sign")
EndpointGetTreeHeadCosigned = Endpoint("get-tree-head-cosigned")
- EndpointGetInclusionProof = Endpoint("get-inclusion-proof")
- EndpointGetConsistencyProof = Endpoint("get-consistency-proof")
- EndpointGetLeaves = Endpoint("get-leaves")
+ EndpointGetInclusionProof = Endpoint("get-inclusion-proof/")
+ EndpointGetConsistencyProof = Endpoint("get-consistency-proof/")
+ EndpointGetLeaves = Endpoint("get-leaves/")
)
// Path joins a number of components to form a full endpoint path. For example,