-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic App Output #2
Comments
Hi @gloc-mike That is odd. I don't know why you're seeing that. I'd guess the web method looks like:
The one I have is:
If that's not it, perhaps it's formatting in your browser? Do a view source also I guess to be sure. Let me know what you find. |
Hi @mikeckennedy, Thanks for the response. I tried both but neither altered the browser look. I thought it might be browser specific so I tried Opera, Safari and re-downloaded Chrome but all produce the same result. But I don't see that error in Safari nor in Chrome so probably Opera specific. There are no exceptions anywhere else in any of the browsers that I can find. Any other thoughts? |
Hi @mikeckennedy, I pushed my program files to GitHub. I know it's simple but I might have some domestic blindness and have missed something really obvious. |
Thanks. I ran your version in github. Here's what I get with it exactly as is which is But running this version:
Gets me: I think what you might be seeing is you must restart the web app, not just change and save the python file to see any difference. |
Hi @mikeckennedy, Yes, I alway restart the server after making changes. It doesn't make any difference which version of the return statement I use, I still do not get the "JSON Raw Data Headers" FastAPI buttons displayed in the browser. I looked through the FastAPI issues but could not find anything related to this. |
Oh, I misunderstood the part you're looking for. You have to use a browser with that display. The reason I have that is because I use Firefox. I wouldn't get that on brave/chrome/safari/etc. |
Oh sorry @mikeckennedy ! My bad. I shouldn't have mixed the output screenshots like that. We got there in the end! :) Thanks! Firefox all the way! Yay! :) |
Glad you got it figured out. Yes, the mixed browser content threw me off. :) |
Hi Mike,
Not sure why but the output I'm getting from the basic app does not display the JSON, Raw Data, etc. fastAPI tabs at the top of the browser window like your example shows.
Do you know why that might be?
Mine:
Yours:
Thanks
Michael
The text was updated successfully, but these errors were encountered: