title: TypeError: <Response 36 bytes [200 OK]> is not JSON serializable
body: <p>I am writing web service using restful flask.
  The below code giving me this error -  <strong>TypeError:  is not JSON serializable</strong> </p>
  
  <pre><code>from flask import jsonify
  from flask_restful import Resource
  class Recipe(Resource):
     def get(self):
        return jsonify({"status": "ok", "data": ""}), 200
  </code></pre>
  
  <p>How ever this code is working fine</p>
  
  <pre><code>from flask import jsonify
  from flask_restful import Resource
  class Recipe(Resource):
     def get(self):
        return jsonify({"status": "ok", "data": ""})
  </code></pre>
  
  <p>The Below code is also working</p>
  
  <pre><code>from flask import jsonify
  from flask_restful import Resource
  class Recipe(Resource):
  def get(self):
     return {"status": "ok", "data": ""},200
  </code></pre>
  
  <p>I have noticed that I get the error when I use jsonify and response code together, I need to use jsonfy because I will be sending object as response. </p>