User Tools

Site Tools


python:flask-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python:flask-api [07/08/2025 08:53] andrewpython:flask-api [07/08/2025 09:10] (current) – [Output] andrew
Line 5: Line 5:
 ===== Debugging API calls ===== ===== Debugging API calls =====
  
 +Send to this URL to see just what you have actually sent to help any debugging.
  
-# Note:- send to this URL to see just what you have actually sent to help any debugging. +[[https://httpbin.org/anything]]
-https://httpbin.org/anything+
  
  
Line 25: Line 25:
  
 Get output from MySQL in the form of a Tuple and return it  Get output from MySQL in the form of a Tuple and return it 
-without any html encoding, ie. just as a json object.+without any html encoding, ie. just as a json object. It has a 200 hard coded, but it might be wise to check that the result from MySQL is sensible and justifies a 200 return.
  
  
python/flask-api.1754556803.txt.gz · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki