码迷,mamicode.com
首页 >  
搜索关键字:curl -O    ( 5038个结果
CURL模拟登陆
index.htmlLoginadmincp.php $_GET['auth_username'], 'auth_password' => $_GET['auth_password'] ); $url = 'http://www.adtuu-server.com/login...
分类:Web程序   时间:2015-07-30 10:57:54    阅读次数:167
CURL的使用<发送与接收数据>
$headers = array( "TYPE:xxxxooooo", "TOKEN:00000000");$data = array( 'data' => array('name' => 'test','AGE'=>22), 'registration_ids' => ar...
分类:Web程序   时间:2015-07-30 10:44:58    阅读次数:138
php接收纯json数据
我用curl/post方式发送一段数据给一个接口文件发现$_POST输出为Array(),没有获取到任意字符串,百度上找到方法1 function getRawData(){2 $put = array();3 parse_str(file_get_contents('php://input...
分类:Web程序   时间:2015-07-30 10:42:41    阅读次数:223
批量查询ip地址的归属地
#!/bin/bash #批量查找ip地址所在地 whilereadi do sring=`curl-s"http://ip138.com/ips138.asp?ip=${i}&action=2"|iconv-fgb2312-tutf-8|grep‘1.‘|awk-F‘[<>]+‘‘{printsubstr($7,7)}‘|grep-v"^$"|sed-n‘4p‘` echo$i$sring done</etc/ip.txt
分类:其他好文   时间:2015-07-30 02:18:12    阅读次数:616
Facebook React Native 初探
这周末参加了UPYUN的移动沙龙,就提到了React Native,今天就写一篇教程。 首先要配置环境,如果没有就执行下面的工作。 1.安装Homebrew打开终端 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2.安装node brew in...
分类:其他好文   时间:2015-07-29 17:26:36    阅读次数:208
Mac安装brew及其使用方法
Mac 安装 brew 及其使用方法: 安装brew: curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1 卸载brew: cd `brew --prefix` rm -rf Cellar brew pr...
分类:系统相关   时间:2015-07-29 14:09:15    阅读次数:167
appium进行ios的自动化测试,appium的安装
1.安装node.js     去官网下载的是安装包,但是性质和安装是使用sudo命令一样,后面会有问题,所以使用命令brew install node安装;     这个是基于brewHome的,需要先安装brewHome;这个简单,一行ruby命令(因为mac自带ruby,所以不需要额外工作):ruby -e "$(curl -fsSL https://raw.githubus...
分类:移动开发   时间:2015-07-29 12:10:16    阅读次数:151
curl 获取自定义数据
// curl_test.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include "curl.h"using namespace std;/** * 一旦curl接收到数据,就会调用此回调函数 * buffer:数据缓冲区指针 * siz...
分类:Web程序   时间:2015-07-29 11:50:27    阅读次数:187
在Xcode中使用Alcatraz插件工具
首先是安装Alcatraz插件,这就相当于一个篮子,里面装满了Xcode的插件,非常实用,安装起来也很简单。 通过在终端进行安装,输入如下命令 安装:curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/in...
分类:其他好文   时间:2015-07-29 11:46:12    阅读次数:108
解决移动铁通宽带CentOS源不可用的问题
问题 [root@bd21?yum.repos.d]#?yum?makecache?????? Loaded?plugins:?fastestmirror http://mirrors.163.com/centos/7/os/x86_64/repodata/repomd.xml:?[Errno?14]?curl#6?-?"Could?not?resol...
分类:移动开发   时间:2015-07-29 01:10:06    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!