Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
LuccaFaro
New Member

How to get data from post request?

Hello everyone,

 

I'm trying to get the .cvs file from https://www2.cetip.com.br/TitulosCRI into Power BI automatically. In order to do download the file manually, you must first click in the button that says "Enviar" (send, in portuguese) and then in the button that says "Exportar para CSV" (export to CSV).

 

My first attempt was to find out the download link for the file, but it turned out to be the webpage link itself.

Reading about it, I learnt it might be the case that when I click the buttons, I'm making HTTP post requests. I tried to find some examples of Power BI code to make this kind of request, but my lack of knowledge in the subject made it hard to understand the code provided.

 

By analyzing the page's source code, I found the code below, which might have something to do with the request:

<input type="submit" name="btExportarCSV" value="Exportar para CSV" id="btExportarCSV" class="button">

Can anyone help me understand how can I get this file automatically using power BI?

3 REPLIES 3
Anonymous
Not applicable

Hi darlove,

 

Thanks for the help! After reading the post, I can see that my case is definetly a post resquest!

 

Can this kind of request be made using Power BI? The code on SO is for wget...

 

Best

Lucca

Anonymous
Not applicable

No idea. Never had to do that....

Best
D.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.