-
I passed url-query-params like How to view / verify the query-params I passed to my node app in Visor? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
get requests don't have a payload. the params are in the url itself. for reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET |
Beta Was this translation helpful? Give feedback.
-
Hello @suntong @app.get("/")
def render_home(id: str, name: str ):
print(f"{id} - {name}")
return <p>Ok</p> And then watch the Logs in Deta Visor. |
Beta Was this translation helpful? Give feedback.
Hello @suntong
I think the query-params and the Request Payload got confused, as @abdelhai suggested earlier, the request points to the Post method which is usually a .json file.
If you really wanted to see those parameters you can print them and see the in the Visor:
And then watch the Logs in Deta Visor.