Closed abhsinh2 closed 4 years ago
query := mutation ($activeIp: String!) { registerActive(regReq:{ active: { ip:$active } }) { status } }
mutation ($activeIp: String!) { registerActive(regReq:{ active: { ip:$active } }) { status } }
req := graphql.NewRequest(query) req.Var("active", "1.1.1.1")
while sending I get: graphql: name 'json' is not defined
query :=
mutation ($activeIp: String!) { registerActive(regReq:{ active: { ip:$active } }) { status } }
req := graphql.NewRequest(query) req.Var("active", "1.1.1.1")
while sending I get: graphql: name 'json' is not defined