Rohan

Rohan

  • 1.5k
  • 549
  • 14.6k

Hit a web api using ajax.

Oct 15 2021 6:49 AM

Hello everyone I have create a code for filter based on socialmediaId . My total 16 social media with 16  checkbox I have click all social media then hit search button  face a issue api 404 error showing but I have click only 7 check box it's working fine

This error display 

Https://adminapi.azurewebsites.net/api/Search/SearchAdvanced?SearchKeyword=mouse&searchTerm=mouse&

userID=494&socialMediaTypeIDs=1&socialMediaTypeIDs=2&socialMediaTypeIDs=3&socialMediaTypeIDs=4&socialMediaTypeIDs=5&

socialMediaTypeIDs=6&socialMediaTypeIDs=7&socialMediaTypeIDs=8&socialMediaTypeIDs=9&socialMediaTypeIDs=10&socialMediaTypeIDs=11&

socialMediaTypeIDs=12&socialMediaTypeIDs=13&socialMediaTypeIDs=14&socialMediaTypeIDs=15&socialMediaTypeIDs=16&draw=1&

columns%5B0%5D%5Bdata%5D=publisherID&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&

columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=&

columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=false&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&

columns%5B2%5D%5Bdata%5D=rank&columns%5B2%5D%5Bname%5D=&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=false&

columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=siteDescription&

columns%5B3%5D%5Bname%5D=&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=false&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&

columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=hasAdNetworks&columns%5B4%5D%5Bname%5D=&columns%5B4%5D%5Bsearchable%5D=true&

columns%5B4%5D%5Borderable%5D=false&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&

columns%5B5%5D%5Bdata%5D=hasAffiliateNetworks&columns%5B5%5D%5Bname%5D=&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=false&

columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=hasContacts&columns%5B6%5D%5Bname%5D=&

columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=false&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&

columns%5B7%5D%5Bdata%5D=publisherID&columns%5B7%5D%5Bname%5D=&columns%5B7%5D%5Bsearchable%5D=true&columns%5B7%5D%5Borderable%5D=false&

columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1634279568275


Answers (1)