HTTP Console Documentation

Similar documents
REST Web Services Objektumorientált szoftvertervezés Object-oriented software design

Postman User Guide. Document Reference: July Version: 2

Manage Workflows. Workflows and Workflow Actions

HTTP Authentication API

INF5750. RESTful Web Services

Archer Documentation. Release 0.1. Praekelt Dev

CORS Attacks. Author: Milad Khoshdel Blog: P a g e. CORS Attacks

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1

Web Development and HTML. Shan-Hung Wu CS, NTHU

All requests must be authenticated using the login and password you use to access your account.

Developing RESTful Services Using JAX-RS

5.1 Registration and Configuration

Getting Some REST with webmachine. Kevin A. Smith

REST. Lecture BigData Analytics. Julian M. Kunkel. University of Hamburg / German Climate Computing Center (DKRZ)

Using OAuth 2.0 to Access ionbiz APIs

Distributed Systems. 03r. Python Web Services Programming Tutorial. Paul Krzyzanowski TA: Long Zhao Rutgers University Fall 2017

TACACS Support APIs. curl -k -v -u "admin:cisco123" -H Accept:application/vnd.yang.data+xml -H ContentType:application/vnd.yang.

REST A brief introduction

CS October 2017

Black Box DCX3000 / DCX1000 Using the API

RESTful Services. Distributed Enabling Platform

Protocols. Application Layer FTP, HTTP, SSH, IMAP. Transport Layer TCP, UDP. Internet Layer IP. Link Layer Ethernet, WiFi

CGI / HTTP(s) GET NETIO M2M API protocols docs

How browsers talk to servers. What does this do?

HTTP Protocol and Server-Side Basics

Lesson 7: Defining an Application

Shopitem API A technical guide to the REST API for managing updates of shopitems

Tools for Accessing REST APIs

Lab 4: create a Facebook Messenger bot and connect it to the Watson Conversation service

Patch Server for Jamf Pro Documentation

Web Programming Step by Step

How to social login with Aruba controller. Bo Nielsen, CCIE #53075 (Sec) December 2016, V1.00

Qualys Cloud Suite API Release Notes

DFP Mobile Ad Network and Rich Media API

RESTful Web Services. 20-Jan Gordon Dickens Chariot Solutions

Notes beforehand... For more details: See the (online) presentation program.

Writing APIs in Lumen

Integrating with ClearPass HTTP APIs

File Resource Operations Summary

HTTP, circa HTTP protocol. GET /foo/bar.html HTTP/1.1. Sviluppo App Web 2015/ Intro 3/3/2016. Marco Tarini, Uninsubria 1

mobile.international Seller API Documentation for Transfer Service Providers (TSPs) Table of contents Seller-API Documentation for TSPs

Error Sending Dav Request. Http Code 400 Status 'bad Request'

Network Applications and the Web

Session 12. RESTful Services. Lecture Objectives

jquery to connect with DynamoDB via Lambda API March 9-10, 2017 CS160 Section

Website Report for colourways.com.au

HOW TO USE THE UIM API CA. ALL RIGHTS RESERVED.

Lecture 7b: HTTP. Feb. 24, Internet and Intranet Protocols and Applications

Unraveling the Mysteries of J2EE Web Application Communications

Mapping Relational data to RDF

ACCUZIP EDDM UI REST API CALLS. 100% Cloud Based EDDM List Creation. Abstract EDDM UI to select Carrier Route Boundaries throughout the United States

Module 3 Web Component

162 HW2. David Culler, Arka Bhattacharya, William Liu. September 2014

Authentify SMS Gateway

Mobile Computing. Logic and data sharing. REST style for web services. Operation verbs. RESTful Services

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes

XML and SFTP APIs How-to Guide

REST Easy with Infrared360

INTERNET ENGINEERING. HTTP Protocol. Sadegh Aliakbary

Business Transaction Protocol. Alan Davies, Gresham Computing plc

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.

Microservices with Node.js

Beginners Guide to Lazada Open Platform

Lab 5: Working with REST APIs

Salesforce IoT REST API Getting Started Guide

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type

Module 1: Introduction to Informatica Cloud B2B Gateway

Backend Development. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Hypertext Transport Protocol

COMP 3400 Programming Project : The Web Spider

OrangeCRM Business Intelligence API IMPLEMENTATION GUIDE

Netwrix Auditor. Integration API Guide. Version: /4/2016

Cisco Spark API Workshop

Generating the Server Response: HTTP Status Codes

Music Video Redundancy and Half-Life in YouTube

WWW. HTTP, Ajax, APIs, REST

Making a POST Request Using Informatica Cloud REST API Connector

WEB API. Nuki Home Solutions GmbH. Münzgrabenstraße 92/ Graz Austria F

COLDFUSION SUMMIT EAST 2018 POWER OF SIMPLICITY IN FW/1

HTTP Reading: Section and COS 461: Computer Networks Spring 2013

Information Network Systems The application layer. Stephan Sigg

Using the REST API Plug-in

HTTPS File Transfer. Specification

COSC 2206 Internet Tools. The HTTP Protocol

Backend Development. SWE 432, Fall Web Application Development

Flask-Cors Documentation

Lab 2. All datagrams related to favicon.ico had been ignored. Diagram 1. Diagram 2

youtube-dl-api-server Release 0.3

How to work with HTTP requests and responses

Dynamic Documents. Kent State University Dept. of Math & Computer Science. CS 4/55231 Internet Engineering. What is a Script?

Ninox API. Ninox API Page 1 of 15. Ninox Version Document version 1.0.0

Produced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar

SEARCH by Sound. API Documentation. Spectralmind Audio Intelligence Platform. Spectralmind. Platform version: 1.3 Document version: 1.1.

1.1 A Brief Intro to the Internet

Composer Help. Web Request Common Block

LUCITY REST API INTRODUCTION AND CORE CONCEPTS

Lecture 21: Oct 26, Web APIs. HTTP(S) Requests Web + APIs httr with REST JSON Resources. James Balamuta STAT UIUC

Web Services Week 10

Charlotte Wickham Instructor

SAP BusinessObjects Explorer API Guide SAP BusinessObjects Explorer XI 3.2 SP2

Transcription:

HTTP Console Documentation Release 1.0.0 Ahmad Nassri April 02, 2014

Contents 1 text/html 1 2 text/plain 3 3 application/php 5 4 application/xml 7 5 application/json 9 6 API Reference 11 6.1 /ip..................................................... 11 6.2 /agent................................................... 11 6.3 /headers.................................................. 11 6.4 /status................................................... 12 6.5 /delay................................................... 12 6.6 /redirect.................................................. 13 6.7 /text.................................................... 13 7 HTTP Console 15 i

ii

HTTP Console Documentation, Release 1.0.0 The default response format is text/plain. you can change this behavior by sending an Accept header with one of the following values: Contents 1

HTTP Console Documentation, Release 1.0.0 2 Contents

CHAPTER 1 text/html curl -H "Accept: text/html" -H "User-Agent: Agent Awesome" "httpconsole.com/agent" HTTP/1.1 200 OK Content-Type: text/html <!DOCTYPE html> <html>... <body>... <pre>agent Awesome</pre> </body> </html> Note: The HTML example here is trimmed to save space, to view the output, just visit any of the API endpoints with your web browser. 3

HTTP Console Documentation, Release 1.0.0 4 Chapter 1. text/html

CHAPTER 2 text/plain curl -H "Accept: text/plain" -H "User-Agent: Agent Awesome" "httpconsole.com/agent" HTTP/1.1 200 OK Content-Type: text/plain Agent Awesome 5

HTTP Console Documentation, Release 1.0.0 6 Chapter 2. text/plain

CHAPTER 3 application/php curl -H "Accept: application/php" -H "User-Agent: Agent Awesome" "httpconsole.com/agent" HTTP/1.1 200 OK Content-Type: application/php a:1:{s:10:"user-agent";s:13:"agent Awesome";} 7

HTTP Console Documentation, Release 1.0.0 8 Chapter 3. application/php

CHAPTER 4 application/xml curl -H "Accept: application/xml" -H "User-Agent: Agent Awesome" "httpconsole.com/agent" HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="utf-8"?> <response><user-agent>agent Awesome</user-agent></response> 9

HTTP Console Documentation, Release 1.0.0 10 Chapter 4. application/xml

CHAPTER 5 application/json curl -H "Accept: application/json" -H "User-Agent: Agent Awesome" "httpconsole.com/agent" HTTP/1.1 200 OK Content-Type: application/json {"user-agent":"agent Awesome"} 11

HTTP Console Documentation, Release 1.0.0 12 Chapter 5. application/json

CHAPTER 6 API Reference 6.1 /ip Returns Origin IP curl "httpconsole.com/ip" HTTP/1.1 200 OK Content-Type: text/plain 159.33.10.155 6.2 /agent Returns user-agent. curl -H "User-Agent: Agent Awesome" "httpconsole.com/agent" HTTP/1.1 200 OK Content-Type: text/plain Agent Awesome 6.3 /headers Returns the request headers 13

HTTP Console Documentation, Release 1.0.0 curl -H "User-Agent: Agent Awesome" "httpconsole.com/headers" HTTP/1.1 200 OK Content-Type: text/plain Host: httpconsole.com Accept: */* User-Agent: Awesome Browser 6.4 /status Returns given HTTP Status code. Parameters: /status/:code/:reason Key Format Default Description :code [0-9]+ 200 HTTP Status Code :reason [a-za-z0-9 %_-]+ OK HTTP Status Reason curl "httpconsole.com/status/505/hello World" HTTP/1.1 505 Hello World Content-Type: text/plain Hello World 6.5 /delay Delays responding for n seconds. Parameters: /delay/:seconds Key Format Default Description :seconds [0-9]+ 1 number of seconds to wait before sending a response curl "httpconsole.com/status/505/hello World" 14 Chapter 6. API Reference

HTTP Console Documentation, Release 1.0.0 HTTP/1.1 505 Hello World Content-Type: text/plain Hello World 6.6 /redirect Redirects n times. Parameters: /redirect/:code/:count Key Format Default Description :code 301 302 303 307 302 HTTP Status Code :count [0-9]+ 1 number of times to redirect curl "httpconsole.com/redirect/302/5" HTTP/1.1 302 Found Content-Type: text/plain Location: http://httpconsole.com/redirect/302/4 6.7 /text Returns the text message passed in the URL Parameters: /text/:message Key Format Default Description :code [a-za-z0-9 %_-]+ Hello World Text message to return curl "httpconsole.com/text/hello" HTTP/1.1 302 Found Content-Type: text/plain Hello 6.6. /redirect 15

HTTP Console Documentation, Release 1.0.0 16 Chapter 6. API Reference

CHAPTER 7 HTTP Console HTTP Console is a free HTTP debugging service with multiple endpoints to help test and debug HTTP operations clients with various Response Formats: try it out: curl "http://httpconsole.com/request" refer to the API Reference for a full listing of all possible end-points. 17