Back to Templates
  • +1

API queries data from GraphQL

Created by

Jan Oberhauser

Last update

Last update 10 months ago

Categories
Share

Simpe API which queries the received country code via GraphQL and returns it.

Example URL: https://n8n.exampl.ecom/webhook/1/webhook/webhook?code=DE

  1. Receives country code from an incoming HTTP Request
  2. Reads data via GraphQL
  3. Converts the data to JSON
  4. Constructs return string