def getMysfit(mysfit_id): serviceResponse = mysfitsTableClient.getMysfit(mysfit_id) flaskResponse = Response(serviceResponse) flaskResponse.headers["Content-Type"] = "application/json" return flaskResponse
def getMysfit(mysfitId): print("In getMysfit(mysfitId) with id %s" % (str(mysfitId))) serviceResponse = mysfitsTableClient.getMysfit(mysfitId) flaskResponse = Response(serviceResponse) flaskResponse.headers["Content-Type"] = "application/json" return flaskResponse