Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWAPI Demo returns 405 #45

Open
richburdon opened this issue Sep 24, 2017 · 0 comments
Open

SWAPI Demo returns 405 #45

richburdon opened this issue Sep 24, 2017 · 0 comments

Comments

@richburdon
Copy link

After correcting the current SWAPI URI I get Error: Invalid status code: 405

import { Lokka } from 'lokka';
import { Transport } from 'lokka-transport-http';

const client = new Lokka({
transport: new Transport('http://graphql.org/swapi-graphql/')
});

client.query({ allFilms { films { title } } }).then(result => {
console.log(result.allFilms);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant