Python REST API with Flask - Part 2 - File upload and static file serve - Source Dexter

2 Comments

  1. Emerson Lara
    October 17, 2017 @ 4:09 pm

    I don’t know why, but the API cant find the “test.html” file on html folder…
    Look the log error:
    127.0.0.1 – – [17/Oct/2017 08:36:20] “GET /html/test.html HTTP/1.1” 404 –
    Have you any tip?

    Reply

    • admin
      October 17, 2017 @ 10:00 pm

      There was an error in the code, lt;path:path:gt; should have been something else. I have made the changes. You can make this change as well and I think your issue will be solved.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *