腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Express
using
acuityscheduling
API
、
、
、
我正在使用
acuityscheduling
的
API
来检索约会。他们的文档说要做这样的事情: 在我的
express
服务器上: // https://
acuityscheduling
.com/
api
/v1/appointments?email=email@gmail.com", "pathnam
浏览 18
提问于2021-02-11
得票数 0
1
回答
一台服务器上的React和GraphQL
、
、
、
我将除
api
/graphql之外的所有urls定向到客户端应用程序,但是我找不到将graphql请求定向到服务器的方法。app.use(
express
.static('client/build')); //What to do here}, c
浏览 14
提问于2021-07-25
得票数 1
1
回答
passport.authenticate -用户名和密码为空
、
、
、
、
这可能是一些基本的错误,但我正在看教程,即使我认为我所做的一切都完全一样,在提交登录表单后,我被重定向到"failureRedirect“页面。当我看到护照模块中的源代码时。Strategy.prototype.authenticate = function(req, options) { var password
浏览 3
提问于2015-08-10
得票数 2
1
回答
从后端函数调用返回数据到前端(Wix Corvid)
、
我在后端有一个
api
请求,看起来像这样: import Acuity from '
acuityscheduling
'; userId: xxx
浏览 25
提问于2020-12-01
得票数 1
1
回答
Javascript get请求转义"/“
、
我的Id在我的名字数据库中看起来像这样"Users/123“ 我的
api
有一个端点来加载数据,比如"
api
/user/Id“ 但是由于我用斜杠创建Id的方式,我得到了404,试图点击"
api
/user
浏览 26
提问于2020-12-06
得票数 0
1
回答
无法在nodejs中为我的
API
设置路由
、
、
这是我的app.js中的代码const connectDB = require('./routes/
api
/courses"); connectDB(); //
浏览 4
提问于2021-10-02
得票数 0
回答已采纳
1
回答
express
.js限制
api
只访问同一网站的页面
、
、
、
我构建了一个简单的
api
来反馈json。url很简单,如:。现在,我的
api
公开可见,但我想限制访问,以便只有来自同一域名的页面才能访问它。如何使用
express
.js实现这一目标?下面是我所拥有的一个示例代码:var app =
express
(); // Global app configuration section// This is an exam
浏览 2
提问于2015-07-13
得票数 6
2
回答
Node.js快递
API
“不能得到”与所有的路线。在本地主机上工作,但不在我的服务器上工作。
、
我目前的代码是:const app =
express
(); res.redirect('/
api
') app.get('/
api
', function (
浏览 5
提问于2020-07-03
得票数 1
1
回答
如何从nodejs获取数据到reactjs
、
、
、
server.jsimport cors from 'cors';const WooCommerceRestApi = pkg.default; const app =
express
(); app.use(cors
浏览 1
提问于2022-07-30
得票数 0
回答已采纳
1
回答
DoReferenceTransaction内部错误
我想创建一个与贝宝
API
的账单协议,一切都很好,直到我想做交易使用DoReferenceTransaction。这是请求: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="urn:ebay:
api
浏览 1
提问于2014-08-18
得票数 0
1
回答
无法在Node Js中发布/
api
/register
、
、
auth.controller.js文件var route =
express
.Router(); //define our app
using
express
// var userModel = require('..= require ('
express
&
浏览 3
提问于2017-05-03
得票数 0
回答已采纳
3
回答
角2:异常:位于0位置的JSON中的意外令牌<
、
、
这是我的server.jsconst
express
= require('
express
');constjwt = require('
express
-jwt');const bodyParser = require('body-parser'){ origi
浏览 1
提问于2016-12-08
得票数 1
1
回答
如何在一个文件中包含多个服务器(sapper) get、post等路由?
我想使用我自己的服务器路由,比如
Express
,在一个文件中有多个处理程序,比如... app.post('/
api
/abc',请求,资源,下一个) app.post('/
api
/def',请求,资源,
浏览 7
提问于2019-09-02
得票数 3
1
回答
express
参数和
api
端点
、
、
我有一个用于不同目的的快速
api
端点,但只有一个端点返回所有端点的结果。举例说明。
api
/:id返回id。
api
/:id?示例code app.js file const
express
= require('
express
');app.use(
express
.urlencoded({extended:false}
浏览 7
提问于2019-07-04
得票数 1
2
回答
我的
express
.router().get方法有什么问题?
、
、
= require('
express
'); // call
express
var bodyParser = require('body-parser'); // configure app to use bodyParser()welcome
浏览 2
提问于2016-06-06
得票数 0
2
回答
表达式体解析器req未显示
、
、
我在身体解析器中使用
Express
,如下所示:// Import all required library var app =({ extended: true, limit: '500mb'})) var router = new
express
.Routernext) =
浏览 2
提问于2017-03-29
得票数 0
回答已采纳
1
回答
为什么我在部署到Heroku时会出现“应用程序错误”?(MERN应用程序)
,上面是这样写的: 下面是我的app.js文件(在根级):const
express
= require('
express
');const rewards = require('./routes/
api
/rewards'); co
浏览 0
提问于2020-05-20
得票数 0
回答已采纳
1
回答
Node.js:使用"raw“格式执行POST请求的最佳方式?
、
、
var
express
= require('
express
'); // call
express
var bodyParser = require('body-parser'); // configure app to use bodyParser=
浏览 49
提问于2014-10-20
得票数 1
1
回答
REST
Api
:无法在前端获取数据(NodeJS/React)
、
、
、
我希望这是足够清楚的:const router =
express
.Router(); import
api
from '.&
浏览 3
提问于2022-07-21
得票数 0
0
回答
node.js代理请求: DELETE方法不起作用
、
、
、
我需要将任何以
api
开头的请求转发到另一台服务器。我像这样使用
express
和request: var
express
= require( '
express
' ); var request =
浏览 6
提问于2016-07-18
得票数 1
回答已采纳
点击加载更多
相关
资讯
调用 Express API时出现奇怪的CORS错误该怎么办?
开始使用MEVN技术栈开发01 概述
重磅!微软开源微服务构建软件Dapr
Express转发前端请求实现跨域
学术Fun每周课程更新清单—2024-01-26
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券