<reponame>jchio001/betterbartapi<filename>misc/constants.py
# https status codes
HTTP_STATUS_OK = 200
HTTP_FOUND = 302
HTTP_BAD_REQUEST = 400
HTTP_FORBIDDEN = 401
HTTP_INTERNAL_SERVER_ERROR = 500

# Error messages:
MISSING_API_KEY = 'Please pass in an API key through the header.'
TRY_AGAIN_LATER = 'Unable to process request. Please try again later.'
INVALID_REQUEST = 'Invalid request.'
INVALID_PARAMS = 'Invalid request. Missing key(s): {}.'

# Resp Header
RESP_HEADER = {'Content-Type': 'application/json; charset=utf-8'}

# Default redirect URL
REDIRECT_URL = 'https://instagram.fsnc1-1.fna.fbcdn.net/t51.2885-15/s640x640/' \
               'sh0.08/e35/18579599_1848704868703747_8402454484936032256_n.jpg'

# https status codes
HTTP_STATUS_OK = 200
HTTP_FOUND = 302
HTTP_BAD_REQUEST = 400
HTTP_FORBIDDEN = 401
HTTP_INTERNAL_SERVER_ERROR = 500

# Error messages:
MISSING_API_KEY = 'Please pass in an API key through the header.'
TRY_AGAIN_LATER = 'Unable to process request. Please try again later.'
INVALID_REQUEST = 'Invalid request.'
INVALID_PARAMS = 'Invalid request. Missing key(s): {}.'

# Resp Header
RESP_HEADER = {'Content-Type': 'application/json; charset=utf-8'}

# Default redirect URL
REDIRECT_URL = 'https://instagram.fsnc1-1.fna.fbcdn.net/t51.2885-15/s640x640/' \
               'sh0.08/e35/18579599_1848704868703747_8402454484936032256_n.jpg'
# https status codes # Error messages: # Resp Header # Default redirect URL