Add note about trailing backslash in GraphQL documentation #10340

Closed
opened 2025-12-29 21:30:15 +01:00 by adam · 1 comment
Owner

Originally created by @dannywade on GitHub (Oct 9, 2024).

Change Type

Addition

Area

Integrations/API

Proposed Changes

Add note or other callout in GraphQL documentation to remind users to include trailing backslash when calling on the /graphql endpoint, so GraphQL API requests should look like this: https://netbox.com/graphql/. This may have been an issue called out in the past, but I believe it should be mentioned in the documentation so that users are not constantly fighting 301 or 400 HTTP status codes due to a missing backslash.

Originally created by @dannywade on GitHub (Oct 9, 2024). ### Change Type Addition ### Area Integrations/API ### Proposed Changes Add note or other callout in GraphQL documentation to remind users to include trailing backslash when calling on the `/graphql` endpoint, so GraphQL API requests should look like this: `https://netbox.com/graphql/`. This may have been an issue called out in the past, but I believe it should be mentioned in the documentation so that users are not constantly fighting 301 or 400 HTTP status codes due to a missing backslash.
adam added the type: documentationnetbox labels 2025-12-29 21:30:15 +01:00
adam closed this issue 2025-12-29 21:30:15 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 7, 2025):

This may have been an issue on previous releases, but I can confirm that NetBox v4.2.3 at least automatically redirects from /graphql to /graphql/, so I don't think any note is needed.

@jeremystretch commented on GitHub (Feb 7, 2025): This may have been an issue on previous releases, but I can confirm that NetBox v4.2.3 at least automatically redirects from `/graphql` to `/graphql/`, so I don't think any note is needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10340