var request = require('request')
var constants = require('../custom_modules/constants')
var headers = require('../custom_modules/headers')

var cookie_jar = request.jar()
var request = request.defaults({jar: cookie_jar, strictSSL: false})


var Requester = function(){
}

Requester.prototype.postRequest = function(endpoint, data, callback){
    request({
        method: 'POST', 
        url: endpoint, 
        form: data, 
        headers: headers.getHeaders(), 
        json: true
        },
        callback)
}

Requester.prototype.getRequest = function(endpoint, callback){
    request({
        method: 'GET', 
        url: endpoint, 
        headers: headers.getHeaders(), 
        json: true
        }, 
        callback)
}

module.exports = Requester
@@ -506,24 +506,273 @@
 allback)%0A%7D%0A%0A
+Requester.prototype.postJsonRequest = function(endpoint, data, callback)%7B%0A    request(%7B%0A        method: 'POST', %0A        url: endpoint, %0A        body: data, %0A        headers: headers.getHeaders(), %0A        json: true%0A        %7D,%0A        callback)%0A%7D%0A%0A
 Requester.pr

Add post json request method