General Suggestions

Share your thoughts on World Bank Data

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. JSONP returns text/plain instead of application/javascript MIME type

    The World Bank API currently returns data in a "text/plain" content-type instead of an "application/javascript" (or JSON) content-type, thereby resulting in an error when fetching the data through JavaScript in modern browsers with the 'format' parameter set to JSONP.

    (error: "Refused to execute script because its MIME type (text/plain) is not executable, and strict MIME type checking is enabled")

    (link to try: https://api.worldbank.org/countries/kor;aus;btn;mac/indicators/NE.IMP.GNFS.ZS?date=1995:2017&format=jsonp&prefix=test )

    Thank you for looking into this! Much appreciated.

    7 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      1 comment  ·  Admin →
    • Don't see your idea?

    Thank you for visiting the World Bank's Data Help Desk. Please review the terms of use for this website. Your continued use of this website constitutes your acceptance of these terms and conditions.

    Developer Info

    General Suggestions

    Feedback and Knowledge Base