首页 > 解决方案 > IONIC 我正在尝试注册并登录与 woo Commerce 后端连接的移动应用程序

问题描述

我对 Ionic 很陌生,并尝试在我的 Ionic 应用程序中使用 WooCommerce 后端。

我在注册应用程序时遇到错误。我检查了一切三次。

我找不到应该在哪里更正代码。

zone-evergreen.js:2845 POST https://quickcartindia.com/wp-json/wc/v3/customers?consumer_key="security resons"&consumer_secret="security reasons" 400
register.page.ts:37 Registration respnse: 
HttpErrorResponse {headers: HttpHeaders, status: 400, statusText: "OK", url: "https://quickcartindia.com/wp-json/wc/v3/customers…ecret=cs_cdd9c7c73b165ae0d50ad8b813f82842cd438eb9", ok: false, …}
error:
code: "rest_missing_callback_param"
data:
params: Array(1)
0: "password"
length: 1
__proto__: Array(0)
status: 400
__proto__: Object
message: "Missing parameter(s): password"
__proto__: Object
headers: HttpHeaders
lazyInit: () => {…}
lazyUpdate: null
normalizedNames: Map(0) {}
__proto__: Object
message: "Http failure response for https://quickcartindia.com/wp-json/wc/v3/customers?consumer_key=ck_c362517ed5539a1fbf3af20f50cc96d2047130cf&consumer_secret=cs_cdd9c7c73b165ae0d50ad8b813f82842cd438eb9: 400 OK"
name: "HttpErrorResponse"
ok: false
status: 400
statusText: "OK"
url: "https://quickcartindia.com/wp-json/wc/v3/customers?consumer_key=ck_c362517ed5539a1fbf3af20f50cc96d2047130cf&consumer_secret=cs_cdd9c7c73b165ae0d50ad8b813f82842cd438eb9"
__proto__: HttpResponseBase

标签: ionic-frameworkhybrid-mobile-app

解决方案


推荐阅读