development tool _httpie. Using a cross-platform command-line alternative to Curl Httpie debug interface?

Source: Internet
Author: User

Brief introduction:

Description: This module is a support visual grammar/support format color output/support json/support upload file Form/support HTTPS proxy authentication/support arbitrary request data/Support custom Header/Support Persistent session/support class wget download features HTTP command line client, Completely replace curl, often used for test/debug interfaces


Project Address:

Https://github.com/jkbrzt/httpie


Quick installation:

Pip Install--upgrade Httpie


GET Related:

HTTP GET Https://api.weibo.com/2/trends/hourly.json ACCESS_TOKEN==2.004YPPQEMWHOVBB3FBEF84BEEKKNTC

Description: Simulates sending a GET request, noting that the key-value pairs of the query string are separated by = =


Post Related:

Http-f POST Https://api.weibo.com/2/comments/create.json ACCESS_TOKEN==2.004YPPQEMWHOVBB3FBEF84BEEKKNTC comment== " @LiManMan "Id==1

Description simulate sending a POST request, note that you must add-f to submit the data as a form


More use:

Https://httpie.org/docs


There are pictures and phases:

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/89/5B/wKioL1gQpJfzh28MAALYe9IaaYE983.png "title=" Httpie2.png "alt=" Wkiol1gqpjfzh28maalye9iaaye983.png "/>

This article is from "@Can up and No BB ..." Blog, be sure to keep this source http://xmdevops.blog.51cto.com/11144840/1866065

development tool _httpie. Using a cross-platform command-line alternative to Curl Httpie debug interface?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.