Docsv1Data

Data

data

Converts between different units of data.

Supported Units
The following units of data are supported:
bits
B - byte
KB - kilobyte
MB - megabyte
GB - gigabyte
TB - terabyte
PB - petabyte
KiB - kibibyte
MiB - mebibyte
GiB - gibibyte
TiB - tebibyte
PiB - pebibyte
b - bit
Kb - kilobit
nibble, nibbles - 4 bits
semioctet, semioctets - 4 bits
halfbyte, halfbytes - 4 bits
byte, bytes - 8 bits
octect, octects - 8 bits
hextet, hextets - 8 bits

Request
URL:

https://api.convert.com.de/v1/data

Method: POST
Headers: Content-Type: application/json

Body

{
  "access_token": "YOUR_LICENSE_KEY",
  "text": "1",
  "from": "bits",
  "to": "B"
}

Response

{
  "status_code": 200,
    "data": {
        "value": 1,
        "c_value": 0.125
    }
}