Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
new endpoint for demo 3
Browse files Browse the repository at this point in the history
  • Loading branch information
luisw19 committed Sep 17, 2018
1 parent 39c284d commit d01bcc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql-countries-part3/resources/data.js
Expand Up @@ -53,7 +53,7 @@ var countries = {
var country = {
upsertCountry(body) {
//Paste a RequestBin generated URL here.
var URL = "http://localhost:8000/1nicad91";
var URL = "http://localhost:8000/1d4tq4e1";
console.log("Posting to URL " + URL + " the following payload: " + JSON.stringify(body));
//return fetch(URL, { method: 'POST', body: country})
return fetch(URL, {
Expand Down

0 comments on commit d01bcc9

Please sign in to comment.