graasp / graasp/graasp-api

Should we use trailing slashes in API routes ?

Open
#1,975 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

We have a few endpoints that end with a trailing slash `/tags/` for example. This is not the same as `/tags`

We should decide if we want to use routes with trailing slashes or not.

The recommendation seems to be to **not** use trailing slashes. So use `/tags`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.