码迷,mamicode.com
首页 >  
搜索关键字:bad request    ( 21853个结果
Django创建视图
Django的视图 简单的视图 我们将在 myapp 创建一个简单的视图显示: "welcome to yiibai !" 查看如下的视图 ? from django.http import HttpResponse def hello(request): text = """<h1>welcome ...
分类:其他好文   时间:2021-04-05 12:18:07    阅读次数:0
TP6部署虚拟主机
把public所有东西放到wwwroot目录下 修改.htaccess <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d ...
分类:其他好文   时间:2021-04-02 13:38:02    阅读次数:0
JAVA中过滤器(Filter)与拦截器(Interceptor)
(JAVA中过滤器(Filter)与拦截器(Interceptor)) 概述 过滤器(Filter) 过滤器实际上就是对web资源进行拦截,做一些处理后再交给下一个过滤器或servlet处理 通常都是用来拦截request进行处理的,也可以对返回的response进行拦截处理。 拦截器(Interc ...
分类:编程语言   时间:2021-04-02 12:57:04    阅读次数:0
全(四)Jmeter 请求元件之 Jmeter request 发送 get 、post 请求
我们想要发起 get 或者 post 请求,我们需要有接口地址和必要的参数; 我们可以在 聚合数据网站找到免费的接口地址,让我们来练习:https://www.juhe.cn/ 注册实名认证一下就可以用了 老黄历接口可以发起get和post请求 1、发起 get 请求 第一步:右击“测试计划”添加“ ...
分类:其他好文   时间:2021-04-01 13:15:44    阅读次数:0
从request对象中获取请求json格式的参数
BufferedReader streamReader = new BufferedReader( new InputStreamReader(request.getInputStream(), "UTF-8"));StringBuilder responseStrBuilder = new Str ...
分类:Web程序   时间:2021-04-01 13:14:14    阅读次数:0
【TS】对已有的模块导出新类型
declare module '@alipay/bigfish' { function useModel<S>(initialState: string); function request<S>(url: string, options: any); export const history: { ...
分类:其他好文   时间:2021-04-01 12:52:52    阅读次数:0
Python网络爬虫之Requests模块
### Python网络爬虫之requests模块 ###### 什么是requests模块 ? request模块是python中原生的基于网络请求的模块,其主要作用是用来模拟浏览器发起请求。功能强大,用法简洁高效。在爬虫领域中占着半壁江山的地位。 ###### 为什么要使用request模块 ? ...
分类:编程语言   时间:2021-03-31 12:17:39    阅读次数:0
tp 图片上传加文字
在添加图片 请求到方法接收 open打开当前的图片路径 text 第一个参数时你要添加的水印是 第二个参数是路径 public function imlist(){ // 获取表单上传文件 例如上传了001.jpg $file = request()->file('img'); // 移动到框架应用 ...
分类:Web程序   时间:2021-03-30 13:35:21    阅读次数:0
Java: 聚合数据API接口调用城市天气预报
点击进入【数据聚合_数据接口调用_开发者数据API开放平台】(官网) 在pom文件中,加入依赖 ``` <!--返回json数据--> <dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</artifactId> ...
分类:编程语言   时间:2021-03-17 14:45:35    阅读次数:0
简单的python爬虫图片获取
# 图片爬取 import re import urllib import urllib.request def gethtml(url): page=urllib.request.urlopen(url) html=page.read() return html def getimg(html): ...
分类:编程语言   时间:2021-03-16 14:08:34    阅读次数:0
21853条   上一页 1 ... 19 20 21 22 23 ... 2186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!