I'm trying to get data into bootstrap table with flatJSON plugin with data-url to a remote link returning a json list, but it doesn't load anything.
I tried to made the json list a local archive .json and set data-url to this and it works perfectly.
I have to do something different to make it work with remote url?
JSON
[{"row":{"id":1,"natureza3":"400000000","descricao_natureza3":"RECEITA","valor_inicial":"0,00","valor_realizado":"86.263,16"}},{"row":{"id":2,"natureza3":"411000000","descricao_natureza3":"RECEITA TRIBUTARIA","valor_inicial":"3.786.904.258,00","valor_realizado":"945.522.770,17"}},{"row":{"id":3,"natureza3":"413000000","descricao_natureza3":"RECEITA PATRIMONIAL","valor_inicial":"49.090.388,00","valor_realizado":"27.406.540,51"}},{"row":{"id":4,"natureza3":"414000000","descricao_natureza3":"RECEITA AGROPECUARIA","valor_inicial":"10.000,00","valor_realizado":"0,00"}},{"row":{"id":5,"natureza3":"416000000","descricao_natureza3":"RECEITA DE SERVICOS","valor_inicial":"143.687.606,00","valor_realizado":"38.812.264,90"}},{"row":{"id":6,"natureza3":"417000000","descricao_natureza3":"TRANSFERENCIAS CORRENTES","valor_inicial":"4.346.932.471,00","valor_realizado":"1.333.283.660,04"}},{"row":{"id":7,"natureza3":"419000000","descricao_natureza3":"OUTRAS RECEITAS CORRENTES","valor_inicial":"104.701.326,00","valor_realizado":"15.976.885,88"}},{"row":{"id":8,"natureza3":"421000000","descricao_natureza3":"OPERACOES DE CREDITO","valor_inicial":"309.699.729,00","valor_realizado":"0,00"}},{"row":{"id":9,"natureza3":"422000000","descricao_natureza3":"ALIENACAO DE BENS","valor_inicial":"2.224.598,00","valor_realizado":"100.927,01"}},{"row":{"id":10,"natureza3":"424000000","descricao_natureza3":"TRANSFERENCIAS DE CAPITAL","valor_inicial":"440.315.310,00","valor_realizado":"156.027.522,33"}},{"row":{"id":11,"natureza3":"425000000","descricao_natureza3":"OUTRAS RECEITAS DE CAPITAL","valor_inicial":"265.633.805,00","valor_realizado":"63,24"}},{"row":{"id":12,"natureza3":"471000000","descricao_natureza3":"RECEITA TRIBUTARIA - INTRA-ORCAMENTARIA","valor_inicial":"360.000,00","valor_realizado":"102.535,24"}},{"row":{"id":13,"natureza3":"476000000","descricao_natureza3":"RECEITAS DE SERVICOS - INTRA-ORCAMENTARIA","valor_inicial":"2.358.591,00","valor_realizado":"72.281,08"}},{"row":{"id":14,"natureza3":"477000000","descricao_natureza3":"TRANSFERENCIAS CORRENTES - INTRA-ORCAMENTARIA","valor_inicial":"5.396.558,00","valor_realizado":"400.000,00"}},{"row":{"id":15,"natureza3":"479000000","descricao_natureza3":"OUTRAS RECEITAS CORRENTES INTRA ORCAMENTARIAS","valor_inicial":"2.300.000,00","valor_realizado":"0,00"}},{"row":{"id":16,"natureza3":"484000000","descricao_natureza3":"TRANSFERENCIAS DE CAPITAL","valor_inicial":"1.600.000,00","valor_realizado":"0,00"}},{"row":{"id":17,"natureza3":"491000000","descricao_natureza3":"DEDUCOES DA RECEITA TRIB.P/FORMACAO DO FUNDEB","valor_inicial":"-501.664.481,00","valor_realizado":"-150.513.302,18"}},{"row":{"id":18,"natureza3":"497000000","descricao_natureza3":"DEDUCAO DA REC.DE TRANSF.P/FORMACAO DO FUNDEB","valor_inicial":"-640.717.476,00","valor_realizado":"-212.229.087,51"}}]
HTML
<!table id="table"
data-toggle="table"
data-flat="true"
data-search="true"
data-url="http://localhost/consultas/consulta_receita.php">
<!thead>
<!tr>
<!th data-field="row.descricao_natureza3" data-sortable="true">Name
<!th data-field="row.natureza3" data-sortable="true">Stargazers
<!/tr>
<!/thead>
<!table>