We will go through the code that runs with an initial request.
我们将分步说明与初始请求一起使用的代码。
Recall that during the flow creation, we added code to the request flow.
回忆一下在创建流的过程中,我们曾将代码添加到请求流。
Of course, we had to express this business request in appropriate data access code.
当然,我们必须以适当的数据访问代码来表达这种业务请求。
So after the first time you run this code, the bucket create request is ignored.
因此在第一次运行此代码后,桶的创建请求将被忽视。
Figure 5 shows how to use the weather request with a ZIP code.
图5展示了如何使用具有邮政编码的天气请求。
The first request originates at the browser, where you would type in your zip code.
最初的请求源自浏览器,用户在浏览器中输入邮政编码。
Of particular interest here is when the request returns a valid response (the 200 code).
这里特别要注意的是当请求对象返回有效响应时(200代码)。
Notice the code for the client side consists only of setting the request method to GET.
注意客户端的代码只包含设置请求方法为GET的内容。
The first part of the code creates the request message using AXIOM.
代码的第一部分使用AXIOM创建请求消息。
A 201 status code (CREATED) is a perfect response to a successful POST request.
状态码201 (CREATED)是一个成功POST请求的完美响应。
I put this just below the code that creates a request object, in hoverbox-ajax.js.
我将上述代码放到了hoverbox - ajax . js中用于创建请求对象的代码的下面。
This code is used to access the Client object when handling a user request.
处理用户请求时,使用这段代码来访问Client对象。
The request was successful (HTTP response code 200).
该请求已成功(HTTP响应代码 200)。
However, there must be code somewhere to satisfy that request.
不过,必须要有一些代码来满足这个请求。
Your code is actually attempting to make a CORS request, not an ordinary POST.
您的代码实际上是尝试发出CORS请求,而不是普通的POST。
You should request only those permissions that your code needs, and no more.
您应该只要求您的程序码会用到的使用权限,而不要求过多的使用权限。
The following code example demonstrates a basic permission request.
以下的程序码范例示范基本的使用权限要求。
This enables outside code to effect the request.
这样外部代码就可以影响该请求。
You can request the JIT-compiler to not optimize the resulting machine code.
您可以要求JIT编译器不最佳化最终的机器码。
When overridden in a derived class, this method allows outside code to affect the request.
在衍生类别中覆写时,这个方法允许外部程序码对要求产生影响。
Source code is available on request.
可应要求提供源代码。
Source code is available on request.
可应要求提供源代码。
应用推荐