Small doubt in the help of project

So I was reading this help link on git provided by FCC for project. And there they used the following link in example for $.getJSON method.
Shouldn’t be there & instead of ? before callback?

From Wikipedia:

The first question mark is used as a separator, and is not part of the query string.

How JSON works (on Wikipedia).

@jenovs But if you try that link with a browser, it gives no response - blank white space. On the other hand use & instead of ? and it gives the response and shows JSON object.

You should get JSON even without ?callback=?, just by typing in your browser.

Read about jQuery .getJSON().

If the URL includes the string “callback=?” (or similar, as defined by the server-side API), the request is treated as JSONP instead.

1 Like

Hello, I have moved the article to another section as it is not a wiki entry.