Logo
Explore Help
Sign In
darkhelm/notifications-api
1
0
Fork 0
You've already forked notifications-api
mirror of https://github.com/GSA/notifications-api.git synced 2026-08-16 20:48:37 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
3f5e7ae0bdf13dcee4caaa05905a2ef2b89b93c3
notifications-api/app/main/views/index.py

13 lines
246 B
Python
Raw Normal View History

Basic commit to add get pages showing - bootstrap script - run script - couple of views - basic config
2015-12-10 10:56:59 +00:00
from flask import jsonify
from .. import main
@main.route('/', methods=['GET'])
Implement a JWT header into base client - adds a base client - adds a notifications client These do not proxy onto genuine methods. This pull request is the basic implication of the API Client. Still needs a few things before is ready, notably proper logging and actual API endpoints to hook into. Basic premise is to deliver the JWT tokens required for Notify API authentication so we can discuss the implementation/premise.
2015-12-11 16:57:00 +00:00
def get_index():
return jsonify(result="hello world"), 200
@main.route('/', methods=['POST'])
def post_index():
Basic commit to add get pages showing - bootstrap script - run script - couple of views - basic config
2015-12-10 10:56:59 +00:00
return jsonify(result="hello world"), 200
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 934ms Template: 115ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API