https://github.com/iroy2000/to-get-contentful-swag
This is just to get a contentful way
https://github.com/iroy2000/to-get-contentful-swag
Last synced: 4 months ago
JSON representation
This is just to get a contentful way
- Host: GitHub
- URL: https://github.com/iroy2000/to-get-contentful-swag
- Owner: iroy2000
- Created: 2020-09-23T18:11:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T18:55:47.000Z (over 5 years ago)
- Last Synced: 2025-10-18T20:03:34.211Z (8 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Purpose
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!!!
## Installation
Run this in your terminal
```bash
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"}}'
```
## Contributing
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.
## License
[MIT](https://choosealicense.com/licenses/mit/)