An open API service indexing awesome lists of open source software.

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

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/)