1

I'm using flask restplus and I'd like to get the request url string in order to process it within a python3 method. I cannot find how to do it neither in the documentation nor on Google. Can somebody help me?? Thanks!

user1403546
  • 1,680
  • 4
  • 22
  • 43

1 Answers1

0

Try looking at Request fields

path             /foo/page.html
full_path        /foo/page.html?x=y
script_root      /myapplication
base_url         http://www.example.com/myapplication/foo/page.html
url              http://www.example.com/myapplication/foo/page.html?x=y
url_root         http://www.example.com/myapplication/

How do I get the different parts of a Flask request's url?

Ammar Aslam
  • 560
  • 2
  • 16