File tree Expand file tree Collapse file tree 5 files changed +23
-4
lines changed
developers/scripts/infrastructure
node-operators/infrastructure Expand file tree Collapse file tree 5 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# Usage: $0 GRAPHQL_ENDPOINT
3- # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required)
3+ # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required, must end with /graphql)
4+ # Example: https://mina-rust-plain-2.gcp.o1test.net/graphql
45
56if [ -z " $1 " ]; then
67 echo " Error: GRAPHQL_ENDPOINT is required"
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Usage: $0 GRAPHQL_ENDPOINT
3- # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required)
3+ # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required, must end with /graphql)
4+ # Example: https://mina-rust-plain-2.gcp.o1test.net/graphql
45
56if [ -z " $1 " ]; then
67 echo " Error: GRAPHQL_ENDPOINT is required"
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Usage: $0 GRAPHQL_ENDPOINT
3- # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required)
3+ # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required, must end with /graphql)
4+ # Example: https://mina-rust-plain-2.gcp.o1test.net/graphql
45
56if [ -z " $1 " ]; then
67 echo " Error: GRAPHQL_ENDPOINT is required"
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Usage: $0 GRAPHQL_ENDPOINT
3- # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required)
3+ # GRAPHQL_ENDPOINT: GraphQL endpoint URL (required, must end with /graphql)
4+ # Example: https://mina-rust-plain-2.gcp.o1test.net/graphql
45
56if [ -z " $1 " ]; then
67 echo " Error: GRAPHQL_ENDPOINT is required"
Original file line number Diff line number Diff line change @@ -109,6 +109,21 @@ If you cannot connect to plain nodes:
109109
110110Common API issues:
111111
112+ <!-- prettier-ignore-start -->
113+
114+ :::caution GraphQL Endpoint URL Format
115+
116+ When using plain node endpoints, **always include `/graphql` at the end of the
117+ URL**. The endpoint will return " HTTP method not allowed" if you omit the
118+ `/graphql` path.
119+
120+ **Correct**: `https://mina-rust-plain-2.gcp.o1test.net/graphql`
121+ **Incorrect**: `https://mina-rust-plain-2.gcp.o1test.net/`
122+
123+ :::
124+
125+ <!-- prettier-ignore-stop -->
126+
112127<CodeBlock
113128 language = " bash"
114129 title = " website/docs/developers/scripts/infrastructure/test-connectivity.sh"
You can’t perform that action at this time.
0 commit comments