local K=require(script.Parent.Util.tableJoin)local P={}P.data={appId="";baseUrl=""}function P.getHeaders(U,P)local O={["\088-\080\097\114\115\101-\065\112\112\108\105\099\097\116\105\111\110-\073\100"]=U.data.appId,["\067\111\110\116\101\110\116-\084\121\112\101"]="\097\112\112\108\105\099\097\116\105\111\110\047\106\115\111\110"}if P=="\116\097\098\108\101"then O=K(O,P)end return O end function P.withBaseUrl(P,K)return string.format("\037\115\037\115",P.data.baseUrl,K)end return P
local tableJoin = require(script.Parent.Util.tableJoin)

local _config = {}

_config.data = {
	appId = "",
	baseUrl = ""
}

function _config:getHeaders(extraHeaders)
	local headers = {
		["X-Parse-Application-Id"] = self.data.appId,
		["Content-Type"] = "application/json"
	}
	
	if extraHeaders == "table" then
		headers = tableJoin(headers, extraHeaders)
	end
	
	return headers
end

function _config:withBaseUrl(endpoint)
	return string.format("%s%s", self.data.baseUrl, endpoint)
end

return _config
