#!/bin/sh # Recorded curl commands; rerun verify.py to start fresh fixture servers. # These ephemeral ports refer to the recorded run and are no longer listening. # Server: python3 fixture.py --introspection on --authz off --port 53285 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ __schema { queryType { fields { name } } } }"}' http://127.0.0.1:53285/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUsrRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53285/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53285/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ me { id email } }"}' http://127.0.0.1:53285/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-admin-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53285/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --data '{"query": "{ adminUserRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53285/graphql # Server: python3 fixture.py --introspection off --authz off --port 53294 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ __schema { queryType { fields { name } } } }"}' http://127.0.0.1:53294/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUsrRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53294/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53294/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ me { id email } }"}' http://127.0.0.1:53294/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-admin-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53294/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --data '{"query": "{ adminUserRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53294/graphql # Server: python3 fixture.py --introspection on --authz on --port 53302 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ __schema { queryType { fields { name } } } }"}' http://127.0.0.1:53302/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUsrRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53302/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53302/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ me { id email } }"}' http://127.0.0.1:53302/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-admin-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53302/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --data '{"query": "{ adminUserRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53302/graphql # Server: python3 fixture.py --introspection off --authz on --port 53312 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ __schema { queryType { fields { name } } } }"}' http://127.0.0.1:53312/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUsrRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53312/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53312/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-alice-token' --data '{"query": "{ me { id email } }"}' http://127.0.0.1:53312/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --header 'Authorization: Bearer demo-admin-token' --data '{"query": "{ adminUserRecord(id: \"bob\") { id email ssn_last4 } }"}' http://127.0.0.1:53312/graphql curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request POST --header 'Content-Type: application/json' --data '{"query": "{ adminUserRecord(id: \"bob\") { id } }"}' http://127.0.0.1:53312/graphql