Utilitas
Endpoint utilitas kecil yang praktis untuk merangkai request dalam tes API: id, waktu, encoding, hashing, data acak, lorem ipsum, dan inspeksi JWT.
Akun Anda membuka endpoint ini. Pakai Try it di halaman tiap endpoint untuk mengirim request.
Endpoint ini butuh akun gratis. Buat akun atau masuk untuk melihat detailnya dan mencobanya di sini.
- GET
https://api.testingapis.com/api/utils/base64/decodeDecode a base64 stringDecode a base64 string. - GET
https://api.testingapis.com/api/utils/base64/encodeBase64-encode UTF-8 textBase64-encode UTF-8 text. - GET
https://api.testingapis.com/api/utils/hashHash UTF-8 textHash UTF-8 text. - GET
https://api.testingapis.com/api/utils/hmacCompute an HMAC of UTF-8 textCompute an HMAC of UTF-8 text. - GET
https://api.testingapis.com/api/utils/jwt/decodeDecode a JWT without verifying its signatureDecode a JWT without verifying its signature. - GET
https://api.testingapis.com/api/utils/loremGenerate lorem ipsum textGenerate lorem ipsum text. - GET
https://api.testingapis.com/api/utils/random/numberGenerate random integersGenerate random integers. - GET
https://api.testingapis.com/api/utils/random/stringGenerate a random stringGenerate a random string. - GET
https://api.testingapis.com/api/utils/timeReturn the current time in many formatsReturn the current time in many formats. - GET
https://api.testingapis.com/api/utils/url/decodePercent-decode a stringPercent-decode a string. - GET
https://api.testingapis.com/api/utils/url/encodePercent-encode textPercent-encode text (RFC 3986). - GET
https://api.testingapis.com/api/utils/uuidGenerate one or more UUIDsGenerate one or more UUIDs.
Contoh request
Decode a base64 string. Referensi lengkap dan tombol Send (dalam bahasa Inggris).
cURL
curl -X GET "https://api.testingapis.com/api/utils/base64/decode?value=aGVsbG8gd29ybGQ%3D"Response · 200 OK
{
"input": "aGVsbG8gd29ybGQ=",
"decoded": "hello world",
"isUtf8": true,
"hex": "68656c6c6f20776f726c64",
"length": 11
}Masuk untuk melihat detailnya
Parameter, contoh request dan response, serta panel Try it langsung untuk endpoint ini khusus anggota yang sudah masuk. Akun gratis dan dibuat dalam beberapa detik.