How can I modify a POST request using a custom IHttpModule and an HttpRequest filter?

后端 未结 3 1188
你的背包
你的背包 2020-12-18 10:10

Overview

I want to be able to modify request parameters and content to 3rd party web services (ArcGIS Server). This will be used to create a securit

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-18 10:50

    The answer to part two of this question is to return the modified content size, not the size of the original stream. Behold!

    // return bytesRead;
    return newByteCountLength;
    

提交回复
热议问题