Hi, Can't figure what is wrong with my code in Python, I'm trying to get all the pipes from a company, my code is the following and the response I getting is 404, I already tried different things like make the "query" in a single row using "\" to escape the caracteres: import requests
url = "https://api.pipefy.com/graphql"
headers = {
'authorization': "Bearer company_token",
'content-type': "application/json"
} query = """
{
"query": "{organization(id: 16094){pipes{id}}}"
}
""" response = requests.get(url, data=query, headers=headers) print(response.text)
Best answer by Marcos Carvalho
View original