title: How to decode the file uploaded in postman using python starlette
body: <p>I have uploaded a .mp4 file in postman and now i need to read the file contents into a variable in python
  This is my postman upload
  <a href="https://i.stack.imgur.com/I7jPl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I7jPl.png" alt="enter image description here" /></a></p>
  <p>This is my python file where i my request will be catched in this function
  now how will be decode the file uploaded in this function</p>
  <pre><code>from starlette.requests import Request
  from starlette.routing import Route, Mount
  from starlette.applications import Starlette
  from starlette.responses import PlainTextResponse, FileResponse   
  
  class Post:
      async def PostValuesToDb(requests: Request):
          return PlainTextResponse(&quot;true&quot;)
  
  
  routes = [
      Route(&quot;/post&quot;, Post.PostValuesToDb,
            name=&quot;PostValuesToDb&quot;, methods=[&quot;POST&quot;]),
  
  ]
  
  app = Starlette(
      routes=routes
  )
  </code></pre>
  <p>PostValuesToDb(requests: Request) captures the postman request.</p>