Skip to content

Instantly share code, notes, and snippets.

@yi-mei-wang
Created November 19, 2019 10:15
Show Gist options
  • Save yi-mei-wang/4a4e233b824929c86c9aaa4af39a26bf to your computer and use it in GitHub Desktop.
Save yi-mei-wang/4a4e233b824929c86c9aaa4af39a26bf to your computer and use it in GitHub Desktop.
Flask API
  1. Download Postman

  2. HTTP status codes (Click to read more)

    1. Grouped by classes
      Status codes
    2. Common
      1. 200: OK
      1. 201: Created
      1. 400: bad syntax (wrong format)
      1. 404: Not found
  3. jsonify(nameOfKey=data), [status code if any]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment