Skip to content

Added a pure HTTP example #1

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

Merged
merged 3 commits into from
Sep 30, 2018
Merged

Added a pure HTTP example #1

merged 3 commits into from
Sep 30, 2018

Conversation

bbakerman
Copy link
Member

Based on the previous HTTP example but as a Spring Boot app

@bbakerman bbakerman requested a review from andimarek September 25, 2018 00:52
@RequestParam(value = "operationName", required = false) String operationName,
@RequestParam("variables") String variablesJson,
HttpServletResponse httpServletResponse) throws IOException {
if (query == null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't be null, because it is required, right?

}
Map<String, Object> variables = new LinkedHashMap<>();
;
if (variablesJson != null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't be null

@andimarek andimarek merged commit 411a79e into master Sep 30, 2018
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

Successfully merging this pull request may close these issues.

2 participants