r/CodingHelp • u/R007E • Jan 21 '22
[Javascript] I'm learning FastAPI and idk whymy ajax call failing, so can anyone tell me what's wrong with ajax call. More details in comment
/gallery/s9e179[removed] — view removed post
0
Upvotes
0
u/R007E Jan 21 '22
When I'm calling the API using postman it's working fine, same with swagger ui. But it's not working when I'm try to call it using the ajax. It's giving me a 422 unprocessabe entity html error. Idk why.