Skip to content
Snippets Groups Projects
Select Git revision
  • 2ac416a35391cda70eefb5aa47ac3b4bb8171e1f
  • master default protected
  • 1.31
  • 4.28.0
  • 4.27.0
  • 4.26.0
  • 4.25.5
  • 4.25.4
  • 4.25.3
  • 4.25.2
  • 4.25.1
  • 4.25.0
  • 4.24.3
  • 4.24.2
  • 4.24.1
  • 4.24.0
  • 4.23.6
  • 4.23.5
  • 4.23.4
  • 4.23.3
  • 4.23.2
  • 4.23.1
  • 4.23.0
23 results

customcontrol.mjs

Blame
  • index.html 11.09 KiB
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv='content-type' value='text/html;charset=utf8'>
      <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
      <title>go-httpbin(1): HTTP Client Testing Service</title>
      <style type='text/css' media='all'>
      /* style: man */
      body#manpage {margin:0;background:#fff;}
      .mp {max-width:100ex;padding:0 9ex 1ex 4ex}
      .mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
      .mp h2 {margin:10px 0 0 0}
      .mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
      .mp h3 {margin:0 0 0 4ex}
      .mp dt {margin:0;clear:left}
      .mp dt.flush {float:left;width:8ex}
      .mp dd {margin:0 0 0 9ex}
      .mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
      .mp pre {margin-bottom:20px}
      .mp pre+h2,.mp pre+h3 {margin-top:22px}
      .mp h2+pre,.mp h3+pre {margin-top:5px}
      .mp img {display:block;margin:auto}
      .mp h1.man-title {display:none}
      .mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
      .mp h2 {font-size:16px;line-height:1.25}
      .mp h1 {font-size:20px;line-height:2}
      .mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
      .mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
      .mp u {text-decoration:underline}
      .mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
      .mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
      .mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
      .mp b.man-ref {font-weight:normal;color:#434241}
      .mp pre {padding:0 4ex}
      .mp pre code {font-weight:normal;color:#434241}
      .mp h2+pre,h3+pre {padding-left:0}
      ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
      ol.man-decor {width:100%}
      ol.man-decor li.tl {text-align:left}
      ol.man-decor li.tc {text-align:center;letter-spacing:4px}
      ol.man-decor li.tr {text-align:right;float:right}
      </style>
      <style type='text/css' media='all'>
      /* style: 80c */
      .mp {max-width:86ex}
      ul {list-style: None; margin-left: 1em!important}
      .man-navigation {left:101ex}
      </style>
    </head>
    
    <body id='manpage'>
    
    
    <div class='mp'>
    <h1>go-httpbin(1)</h1>
    <p>A golang port of the venerable <a href="https://httpbin.org/">httpbin.org</a> HTTP request &amp; response testing service.</p>
    
    <h2 id="ENDPOINTS">ENDPOINTS</h2>
    
    <ul>
    <li><a href="/"><code>/</code></a> This page.</li>
    <li><a href="/absolute-redirect/6"><code>/absolute-redirect/:n</code></a> 302 Absolute redirects <em>n</em> times.</li>
    <li><a href="/base64/aHR0cGJpbmdvLm9yZw=="><code>/base64/:value</code></a> Decodes a Base64 encoded string.</li>
    <li><a href="/base64/decode/aHR0cGJpbmdvLm9yZw=="><code>/base64/decode/:value</code></a> Explicit URL for decoding a Base64 encoded string.</li>
    <li><a href="/base64/encode/httpbingo.org"><code>/base64/encode/:value</code></a> Encodes a string into Base64.</li>
    <li><a href="/basic-auth/user/passwd"><code>/basic-auth/:user/:passwd</code></a> Challenges HTTPBasic Auth.</li>
    <li><a href="/bearer"><code>/bearer</code></a> Checks Bearer token header - returns 401 if not set.</li>
    <li><a href="/brotli"><code><del>/brotli</del></code></a> Returns brotli-encoded data.</del> <i>Not implemented!</i></li>
    <li><a href="/bytes/1024"><code>/bytes/:n</code></a> Generates <em>n</em> random bytes of binary data, accepts optional <em>seed</em> integer parameter.</li>
    <li><a href="/cache"><code>/cache</code></a> Returns 200 unless an If-Modified-Since or If-None-Match header is provided, when it returns a 304.</li>