Skip to Content
0
Former Member
May 16, 2012 at 11:59 AM

HTTP_GET - Bad request error

71 Views

Hi Experts,

I'm trying to receive currency exchange rates from Poland National Bank and Latvia National Bank using HTTP_GET function.

I use URL: http://www.nbp.pl/kursy/xml/LastA.xml - for Poland

and http://www.bank.lv/vk/xml.xml - for Latvia

So, all preferences are the same, but I receive and XML-data from Poland, and got a BAD REQUEST 400 error from Latvia.

Whats wrong?