From e4599334cf434f65cd49f92b604546acd39d4c39 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 26 Apr 2022 16:52:52 +0200 Subject: add url parsing for get-requests with input Pair-programmed with ln5. --- pkg/types/endpoint.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/types/endpoint.go') 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, -- cgit v1.2.3