fetch("http://ideunom.ac.in/mcq/questionpaper_pg.php?SjlTTkxLNDJ3bnF6TVdzWU9QQXdZUkpFSmhOSkNrVGdWTzlNMGNDMHhWRDNrZEExUHh2Sk1LQlBUU1NpbnRtNjVIN1RNWnQrTVVqWks3M1d3ZWplSUw2NStpY1hyeU1VQTlmOGZ1aTJaTlE9", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-IN,en;q=0.9,kn;q=0.8,en-GB;q=0.7,ta;q=0.6",
"upgrade-insecure-requests": "1"
},
"referrer": "http://ideunom.ac.in/mcq/question.php?OXBaVGsvT29RYWNPK2p5NUJJZUFpZz09",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
๐
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Country, State, City } from 'country-state-city'; | |
import { ICountry, IState, ICity } from 'country-state-city' | |
const App = () => { | |
const [country, setCountry] = useState(Country.getAllCountries()) | |
const [countryState, setCountryState] = useState<IState[]>([]) | |
const [city, setCity] = useState<ICity[]>([]) | |
useEffect(() => { | |
setCountryState(State.getStatesOfCountry(data.country)); |
fetch("http://ideunom.ac.in/mcq/questionpaper_pg.php?SjlTTkxLNDJ3bnF6TVdzWU9QQXdZYUNBeExGK0M1UVUyY1pldExmR093bTA0cTNHUEpSVnNWbysvRzI2L2lid01LK1RGVDgyeUlzM3lWdlllRUJHWFUzL0JyQ2lhcXpHL3JiR2RqZVlwb0E9", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-IN,en;q=0.9,kn;q=0.8,en-GB;q=0.7,ta;q=0.6",
"upgrade-insecure-requests": "1"
},
"referrer": "http://ideunom.ac.in/mcq/question.php?OXBaVGsvT29RYWNPK2p5NUJJZUFpZz09",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
fetch("http://ideunom.ac.in/mcq/question.php?OXBaVGsvT29RYWNPK2p5NUJJZUFpZz09", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-IN,en;q=0.9,kn;q=0.8,en-GB;q=0.7,ta;q=0.6",
"upgrade-insecure-requests": "1"
},
"referrer": "http://ideunom.ac.in/mcq/questionpaper_pg.php?SjlTTkxLNDJ3bnF6TVdzWU9QQXdZUWhoR1Y0M0tVUkhyd2tNelNDeVFTRUIyVDlSU2wvZmJtS2ZLckx2RFBsZnovci90ZGdOcWl4dVBmRFcvbmNMNjZudW1Ud1ZLMVJGVzlOSUVBMWVlbkk9",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
OlderNewer