This repo is only to meet the minimal requirement to get a swag by creating a Contentful api. I just learn how to use Contentful ( with no experience ) and to create this api in less than 30 minutes. Good Job Contentful team to make this easy to use and yet powerful product!!!
Run this in your terminal
curl --location --request POST 'https://graphql.contentful.com/content/v1/spaces/a52pzv0h94gs/environments/master' \
--header 'Authorization: Bearer Q54TOrQZPWV7r0Qny-Ob03czWid7rSceDMhNWqWA7a8' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"query test($id: String!) {\n superhero(id:$id) {\n name\n }\n}","variables":{"id":"gB6fS7OGN6qpmbFVABDCB"}}'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.