Skip to content

Instantly share code, notes, and snippets.

@coolgarifTech
Created May 29, 2013 15:07
Show Gist options
  • Select an option

  • Save coolgarifTech/5671018 to your computer and use it in GitHub Desktop.

Select an option

Save coolgarifTech/5671018 to your computer and use it in GitHub Desktop.
Creating the final Flask response
callbackWrapper = callbackArguments + "(" + result + ")"
resp = Response(callbackWrapper, status = 200, mimetype = 'application/json')
return resp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment