Created
February 26, 2026 11:35
-
-
Save zeshanshani/57f134384780bca0c3f9822c46f6add0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1) Health check | |
| curl -s https://web-news-service.greenstreet.com/api/ping | |
| # 2) Get regions (requires entitlements) | |
| curl -s -H "Authorization: Bearer $TOKEN" \ | |
| https://web-news-service.greenstreet.com/api/regions | |
| # 3) Get sectors (requires entitlements) | |
| curl -s -H "Authorization: Bearer $TOKEN" \ | |
| https://web-news-service.greenstreet.com/api/sectors | |
| # 4) Search articles (region is required) | |
| curl -s -H "Authorization: Bearer $TOKEN" \ | |
| "https://web-news-service.greenstreet.com/api/articles?region=USA&keyword=credit§ors=1§ors=3&page=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment