Use the demo URL in API examples
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
require "http"
|
require "http"
|
||||||
|
|
||||||
API_ENDPOINT = "https://decide.madrid.es/graphql".freeze
|
API_ENDPOINT = "https://demo.consulproject.org/graphql".freeze
|
||||||
|
|
||||||
def make_request(query_string)
|
def make_request(query_string)
|
||||||
HTTP.headers("User-Agent" => "Mozilla/5.0", accept: "application/json")
|
HTTP.headers("User-Agent" => "Mozilla/5.0", accept: "application/json")
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require "http"
|
require "http"
|
||||||
|
|
||||||
API_ENDPOINT = "https://decide.madrid.es/graphql".freeze
|
API_ENDPOINT = "https://demo.consulproject.org/graphql".freeze
|
||||||
|
|
||||||
def make_request(query_string)
|
def make_request(query_string)
|
||||||
HTTP.headers("User-Agent" => "Mozilla/5.0", accept: "application/json")
|
HTTP.headers("User-Agent" => "Mozilla/5.0", accept: "application/json")
|
||||||
|
|||||||
Reference in New Issue
Block a user