0

login api は 2 つのパラメーターを受け取ります: ユーザー名、google chrome 開発者モードでのチェック時のパスワード、次のエラーが表示されます

Http failure response for http://localhost:31557/api/Authenticate/login: 405 Method Not Allowed
(anonymous) @ intercept.service.ts:45
push../node_modules/rxjs/_esm5/internal/operators/tap.js.TapSubscriber._error @ tap.js:55
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.error @ Subscriber.js:59
push../node_modules/rxjs/_esm5/internal/OuterSubscriber.js.OuterSubscriber.notifyError @ 
OuterSubscriber.js:13
push../node_modules/rxjs/_esm5/internal/InnerSubscriber.js.InnerSubscriber._error @ 
InnerSubscriber.js:18
push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.error @ Subscriber.js:59
onLoad @ http.js:1707
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:423
onInvokeTask @ core.js:26247
push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:422
push../node_modules/zone.js/dist/zone.js.Zone.runTask @ zone.js:195
push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:498
invokeTask @ zone.js:1693
globalZoneAwareCallback @ zone.js:1730
load (async)
customScheduleGlobal @ zone.js:1832
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.js:1
Show 174 more frames
4

1 に答える 1