0

したがって、次のような wcf サービスへの URL があります。

http://dev.verse-master.com/api/VerseMasterService.svc/Search/bi/isaiah 34:16/0/60

私の操作契約は次のようになります。

[OperationContract]
[WebGet(UriTemplate = "/Search/{translation}/{searchTerm}/{skip}/{take}", ResponseFormat = WebMessageFormat.Json)]
VerseMaster.BusinessLayer.DataObjects.ServerObjects.GetVersesSearchServerObject GetVersesBySearch(string translation, string searchTerm, string skip, string take);

オンラインで読んで、この行をweb.configに追加しようとしました:

<httpRuntime requestPathInvalidCharacters="" requestValidationMode="4.0"/>

しかし、私はまだこのエラーが発生します:

HTTP エラー 400 - 不正な要求です。

何か案は?

4

1 に答える 1