我有一個OwinMiddleware與Invoke方法尋找一種像這樣: public override async Task Invoke(IOwinContext context)
{
...
//The next line launches the execution of the Get method of a controller
await Next.In
我正在從通用函數調用所有API調用,並且在某些響應中會出現自定義響應頭。使用這個頭文件,我需要進行另一個API調用。這可以通過使用Redux中間件來實現嗎? // function 1
return ApiCaller.post('url').then(json => {
dispatch(someAction(json));
})
// function 2
return A