Nothing
Code
. <- req_perform(verbose_resp)
Output
<- HTTP/1.1 200 OK
<- Connection: close
<- Content-Type: application/json
<-
<< {
<< "x": 1
<< }
Code
. <- req_perform(verbose_req)
Output
-> POST /test HTTP/1.1
-> Host: http://example.com
-> Content-Type: text/plain
-> Content-Length: 17
->
>> This is some text
Code
. <- req_perform(req)
Output
-> GET / HTTP/1.1
-> Host: http://example.com
-> Authorization: <REDACTED>
->
Code
. <- req_perform(req)
Output
<- HTTP/1.1 200 OK
<- Content-Type: application/json
<- Content-Encoding: gzip
<-
<< {
<< "args": {
<<
<< },
<< "data": {
<<
<< },
<< "files": {
<<
<< },
<< "form": {
<<
<< },
<< "headers": {
<< "Host": "http://example.com"
<< },
<< "json": {
<<
<< },
<< "method": "get",
<< "path": "/gzip",
<< "origin": "127.0.0.1",
<< "url": "<webfakes>/gzip",
<< "gzipped": true
<< }
Code
. <- req_perform(req)
Output
<< {
<< "foo": "bar",
<< "baz": [
<< 1,
<< 2,
<< 3
<< ]
<< }
Code
. <- req_perform(req)
Output
<< {"foo":"bar","baz":[1,2,3]}
Code
. <- req_perform(req)
Output
>> {
>> "foo": "bar",
>> "baz": [
>> 1,
>> 2,
>> 3
>> ]
>> }
Code
. <- req_perform(req)
Output
>> {"foo":"bar","baz":[1,2,3]}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.