postman を使用して wcf rest サービスのメソッドをヒットできます。
しかし、APIをヒットするとJIRA Webhookを使用しています.400エラーが発生します
Client error - 400 when posting to web hook at 'http://localhost:12456/JiraRestWebhook.svc/GetData/TES-217?user_id=james&user_key=jamesD'
私の方法は次のとおりです。
[OperationContract]
[WebInvoke(BodyStyle = WebMessageBodyStyle.Wrapped,
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json
, UriTemplate = "GetData/{value}"
)]
string GetData(string value, Stream c);
郵便配達員を使用して正常にヒットできました。リクエストには生データも含まれます。
しかし、私のJIRA Webhookは、問題の更新/作成中にこのエラーを出しています。
注意してください:- メソッドから Stream Param を削除した場合。私のサービスは私に結果を与えることができます。