Skip to content

Commit

Permalink
Fixed endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Brbb committed Jan 19, 2018
1 parent 0f591d7 commit ce83242
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
29 changes: 3 additions & 26 deletions data/settings.js
@@ -1,37 +1,14 @@
var settings = {
"endpoints": [
{
"name": "GraphQL Conference",
"url": "https://graphql-europe.org/graphql",
"auth": '',
"verb": 'POST',
"accept": '*/*',
"contentType": 'application/json',
"useIntrospectionQuery": true,
"requestBodyType": 'application/json',

},
{
"name": "Pokemon Endpoint",
"url": "http://graph.pokeql.win/?",
"name": "AirBnB",
"url": "https://airbnb.now.sh/",
"auth": '',
"verb": 'POST',
"accept": '*/*',
"contentType": 'application/graphql',
"useIntrospectionQuery": true,
"requestBodyType": '',

},
{
"name": "Local Test Endpoint",
"url": "http://localhost:5000/graphql",
"auth": 'Basic <token>',
"verb": 'GET',
"accept": 'application/json',
"contentType": 'application/json',
"useIntrospectionQuery": false,
"requestBodyType": 'text',

"requestBodyType": 'text/plain',
}
]
}
2 changes: 1 addition & 1 deletion vue/components.js
Expand Up @@ -223,7 +223,7 @@ var App = new Vue({
dialogFormVisible: false,
httpVerbs: ['GET', 'POST'],
contentTypes: ['application/graphql', 'application/json'],
requestBodyTypes: ['application/graphql', 'application/json', ''],
requestBodyTypes: ['application/graphql', 'application/json', 'text/plain'],
form: {
endpoint: null
},
Expand Down

0 comments on commit ce83242

Please sign in to comment.