Use the demo URL in API examples

This commit is contained in:
Javi Martín
2023-02-28 15:46:45 +01:00
parent ae8975def4
commit 8b7a9d147a
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
require "http"
API_ENDPOINT = "https://decide.madrid.es/graphql".freeze
API_ENDPOINT = "https://demo.consulproject.org/graphql".freeze
def make_request(query_string)
HTTP.headers("User-Agent" => "Mozilla/5.0", accept: "application/json")

View File

@@ -1,6 +1,6 @@
require "http"
API_ENDPOINT = "https://decide.madrid.es/graphql".freeze
API_ENDPOINT = "https://demo.consulproject.org/graphql".freeze
def make_request(query_string)
HTTP.headers("User-Agent" => "Mozilla/5.0", accept: "application/json")