Probleme to connect to Flask API

Hello, I’m working on a machine learning project. I work with flask and Streamlit

I make an API to predict eligibility of customers for bank loans on Flask

I start by select the row of client, I send it to Flask API to predict the eligibility of client, then I return the prediction to Streamlit to show the result.

But i have this message " JSONDecodeError: Expecting value: line 1 column 1 (char 0) "

Can you help me please
Some photos to show my code

Thank you