Hi guys ! I have a problem about HttpContext.Session. When I make a request call to Api from React Native, it reads the code and return response but when I make it from flutter, it doesn’t read the code and return empty response.
for example;
api code:
[httpget]
public List<User> GetMyProfile(){
var user =context.User.Where(x=>x.username==httpcontext.session.getstring(‘username’)).tolist();
return user;
}
React Native Response:
[
{
‘id’:1,
‘username’':‘ramazan’,
‘password’:‘12345’
}
]
Flutter Response:
[ ]
why does flutter returns empty array ?