httpsnippet - HTTP Request snippet generator for many languages & libraries

  •        58

HTTP Request snippet generator for *most* languages

https://github.com/Mashape/httpsnippet

Dependencies:

chalk : ^1.1.1
commander : ^2.9.0
debug : ^2.2.0
event-stream : ^3.3.2
form-data : ^1.0.0-rc3
fs-readfile-promise : ^2.0.1
fs-writefile-promise : ^1.0.3
har-validator : ^5.0.0
pinkie-promise : ^2.0.0

Tags
Implementation
License
Platform

   




Related Projects

unirest-nodejs - Unirest in Node.js: Simplified, lightweight HTTP client library.

  •    Javascript

Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain the open-source API Gateway Kong. A request can be initiated by invoking the appropriate method on the unirest object, then calling .end() to send the request. Alternatively you can send the request directly by providing a callback along with the url.

HTTPie - a CLI, cURL-like tool for humans

  •    Python

HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.

xhr - A small xhr wrapper

  •    Javascript

A small XMLHttpRequest wrapper. Designed for use with browserify, webpack etc. API is a subset of request so you can write code that works in both node.js and the browser by using require('request') in your code and telling your browser bundler to load xhr instead of request.

unirest-obj-c - Unirest in Objective-C: Simplified, lightweight HTTP client library.

  •    Objective-C

Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain the open-source API Gateway Kong. Download the Objective-C Unirest Library from GitHub (or clone the repo) and import the folder into your project. You can also install Unirest-obj-c with CocoaPods.


unirest-ruby - Unirest in Ruby: Simplified, lightweight HTTP client library.

  •    Ruby

Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain the open-source API Gateway Kong. Upon receiving a response Unirest returns the result in the form of an Object, this object should always have the same keys for each language regarding to the response details.

unirest-php - Unirest in PHP: Simplified, lightweight HTTP client library.

  •    PHP

Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain the open-source API Gateway Kong. If you use Symfony2, autoloader has to be detected automatically.

unirest-python - Unirest in Python: Simplified, lightweight HTTP client library.

  •    Python

Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain the open-source API Gateway Kong. Note: For the sake of semplicity, even with custom entities in the body, the keyword argument is still params (instead of data for example). I'm looking for feedback on this.

Requests - Requests for PHP is a humble HTTP request library

  •    PHP

Requests is a HTTP library written in PHP, for human beings. It is roughly based on the API from the excellent Requests Python library. Requests is ISC Licensed (similar to the new BSD license) and has no dependencies, except for PHP 5.2+. Despite PHP's use as a language for the web, its tools for sending HTTP requests are severely lacking. cURL has an interesting API, to say the least, and you can't always rely on it being available. Sockets provide only low level access, and require you to build most of the HTTP response parsing yourself.

mockbin - Mock, Test & Track HTTP Requests and Responses.

  •    Javascript

Mockbin is used internally and maintained by Mashape, who also maintain the open-source API Gateway Kong. read more on Installation.

apiembed - Embeddable API code snippets for your website, blog or API documentation

  •    HTML

Auto-generated, code snippets in many programming languages for your website, blog or API docs. The target transformation is powered by HTTP Snippet. For any errors with the target syntax, or for additional target requests, please submit an issue there.

httpinvoke - A no-dependencies HTTP client library for browsers and Node

  •    Javascript

A no-dependencies HTTP client library for browsers and Node.js with a promise-based or Node.js-style callback-based API to progress events, text and binary file upload and download, partial response body, request and response headers, status code. Any one, two or three arguments can be skipped, except the url.

HTTPie - cURL for humans

  •    Python

HTTPie is a CLI HTTP utility. Its goal is to make CLI interaction with HTTP-based services as human-friendly as possible. It does so by providing an http command that allows for issuing arbitrary HTTP requests using a simple and natural syntax and displaying colorized responses.

reqwest - browser asynchronous http requests

  •    Javascript

All over again. Includes support for xmlHttpRequest, JSONP, CORS, and CommonJS Promises A. It is also isomorphic allowing you to require('reqwest') in Node.js through the peer dependency xhr2, albeit the original intent of this library is for the browser. For a more thorough solution for Node.js, see mikeal/request.

frisbee - :dog2: Modern fetch-based alternative to axios/superagent/request

  •    Javascript

tldr; Stripe-inspired API wrapper for WHATWG's fetch() method for making simple HTTP requests (alternative to superagent, request, axios).If you're using node-fetch, you need node-fetch@v1.5.3 to use form-data with files properly (due to https://github.com/bitinn/node-fetch/issues/102) If you experience form file upload issues, please see https://github.com/facebook/react-native/issues/7564#issuecomment-266323928.

php-restclient - A generic REST API client for PHP

  •    PHP

headers - An associative array of HTTP headers and values to be included in every request. parameters - An associative array of URL or body parameters to be included in every request. curl_options - cURL options to apply to every request; anything defined here: https://secure.php.net/manual/en/function.curl-setopt.php. These will override any automatically generated values. build_indexed_queries (bool) - http_build_query automatically adds an array index to repeated parameters which is not desirable on most systems. Use this option to enable the default behavior. Defaults to FALSE. user_agent - User agent string to use in requests. base_url - URL to use for the base of each request. format - Format string is appended to resource on request (extension), and used to determine which decoder to use on response; a request URL like "api.twitter.com/1.1/statuses/user_timeline.json" would be expected to return well-formed JSON. format_regex - Pattern to extract format from response Content-Type header, used to determine which decoder to use on response. decoders - Associative array of format decoders. See "Direct Iteration and Response Decoding". username - Username to use for HTTP basic authentication. Requires password. password - Password to use for HTTP basic authentication. Requires username. url (string) - URL of the resource you are requesting. Will be prepended with the value of the base_url option, if it has been configured. Will be appended with the value of the format option, if it has been configured.

xr - Ultra-lightweight wrapper around XMLHttpRequest

  •    TypeScript

Really simple wrapper around XHR that provides a few bits of nice functionality, exposes the XHR object wherever relevant, and returns an ES6 Promise (or whatever Promise is set to globally, if you want to use something else). The idea was to make a pragmatic library that's pre-configured for the 90% use case, but override-able for anyone that wants to do anything a bit off the beaten track.

agent - Minimalistic Swift HTTP request agent for iOS and OS X

  •    Swift

Minimalistic Swift HTTP request agent for iOS and OS X. This is a tiny framework that gives you nice a API for crafting HTTP requests.

vue-resource - The HTTP client for Vue.js

  •    Javascript

The plugin for Vue.js provides services for making web requests and handle responses using a XMLHttpRequest or JSONP. You can install it via yarn or NPM.