HTTP Request Tool

Makes an HTTP request and returns the response.

Input: TextResult: Text

Text input

Run to see the result

Examples

Read JSON as text

Input

Expected answer

{"status":"ready","count":3}
Method
GET
URL
data:application/json;base64,eyJzdGF0dXMiOiJyZWFkeSIsImNvdW50IjozfQ==
Headers
(empty)
Mode
Cross-Origin Resource Sharing
Show response metadata
Off
Read a two-line CSV

Input

Expected answer

name,count
Ada,3
Method
GET
URL
data:text/csv;base64,bmFtZSxjb3VudApBZGEsMwo=
Headers
(empty)
Mode
Cross-Origin Resource Sharing
Show response metadata
Off
Read an SVG document

Input

Expected answer

<svg xmlns="http://www.w3.org/2000/svg"><title>Demo</title></svg>
Method
GET
URL
data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5EZW1vPC90aXRsZT48L3N2Zz4=
Headers
(empty)
Mode
Cross-Origin Resource Sharing
Show response metadata
Off
Read UTF-8 text

Input

Expected answer

café — 你好
Method
GET
URL
data:text/plain;base64,Y2Fmw6kg4oCUIOS9oOWlvQ==
Headers
(empty)
Mode
Cross-Origin Resource Sharing
Show response metadata
Off
Read an empty JSON array

Input

Expected answer

[]
Method
GET
URL
data:application/json;base64,W10=
Headers
(empty)
Mode
Cross-Origin Resource Sharing
Show response metadata
Off

This operation supports different HTTP verbs like GET, POST, PUT, etc. You can add headers line by line in the format Key: Value The status code of the response, along with a limited selection of exposed headers, can be viewed by checking the 'Show response metadata' option. Only a limited set of response headers are exposed by the browser for security reasons.

Format reference: HTTP request background and specification

Related tools

Browse networking tools