Skip to Content
author's profile photo Former Member
Former Member

HTTP_GET - Bad request error

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2012 at 12:09 PM

    It may be because of the Systems.Ie unicode systems and the system may not be configured

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2012 at 12:10 PM

    you have to configure the sender file/ftp adapter

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 17, 2012 at 06:19 AM

    Any suggestions, my friends?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2012 at 08:03 AM

    hi Guys,

    The problem had been solved , I added some header fields , then I could get the right result.

    William,.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.