module WolfCore::HttpDataSource
def http_post(url:, headers: {}, query: nil, body: nil)
def http_post(url:, headers: {}, query: nil, body: nil) headers['Content-Type'] ||= 'application/json' body = body&.to_json if headers['Content-Type'] == 'application/json' HTTParty.post(url, headers: headers, query: query, body: body) end