none
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. RRS feed

  • Question

  • hi  guys

    I want to access custom api path with test.html file , but , got some error message via http request as bellow

    so ,Azure function service cannot support custom http request ? if not , do you know how to solve this problem ?

    Thanks so much .


    Attention to WP & Win 8 products and experience, research and extension and is committed to Windows Phone & Windows 8 technology!


    • Edited by WEISHIBO Friday, September 2, 2016 6:03 AM
    Friday, September 2, 2016 6:02 AM

Answers

  • Custom http routes are not currently supported but will be soon (tracked by this issue in our repo).

    However, what you're trying to accomplish goes beyond just custom routes - you're trying to serve static content. While it is possible for you to write functions that return html/files, it won't be the most efficient way of doing so, since each page is a function invocation, rather than letting IIS efficiently return static content as you would do in a regular web site.


    Mathew Charles [MSFT]

    Friday, September 2, 2016 2:09 PM