HTTP Request can not GET XML file

Hello Everyone,

I have problem with HTTP Request. I make a GET method to website to get file XML, but it
return error “THE PAGE YOU REQUESTED CANNOT BE FOUND”

This is my link:[https://einvoice.fast.com.vn/index.aspx?type=2&c=AQAAAJp/5SK8sMKp5kyAsDz3oECkOH6MMOzSqo+4lrH3marQp3EGTMLs1Hk=006821&hash=CCD538746EFC4B9B87C5E347FE9201CB]

If I change “type=3” in this link, I can get file PDF. But change to “type=2”, it return error. You can copy and paste to Browser and download XML or PDF file normaly (both “type=3” or “type=2”). I tried using Postman to request URL link, it return XML file

F9WGT3u8G0

This is my workflow

Information on your n8n setup

  • **n8n version: 1.16.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

Please help me

Hi @giahuylpu

I tried it but got TimeOut. With both Types in the URL u mentioned. Something seems to be wrong with the link u provided.

Hi @seljo-ch

How do you tried my link?. In n8n or direct to browser?

chrome_09llccuy0g

Hi @giahuylpu

No I was able to get the file. Dunno what the issue was. I also was able to get the XML into n8n:

I’m not sure if it’s possible to download the xml as a file.

3 Likes

Thanks you a lot. I seen Header Parameter in Postman like you setup. But I think it not need

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.