ユーティリティ
API テストでリクエストをつなぐのに便利な小さなエンドポイント。ID、時刻、エンコード、ハッシュ、ランダムデータ、lorem ipsum、JWT の確認。
あなたのアカウントでこれらのエンドポイントが使えます。各エンドポイントのページの Try it でリクエストを送れます。
- 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.
リクエストの例
Decode a base64 string. 完全なリファレンスと Send ボタン(英語).
cURL
curl -X GET "https://api.testingapis.com/api/utils/base64/decode?value=aGVsbG8gd29ybGQ%3D"レスポンス · 200 OK
{
"input": "aGVsbG8gd29ybGQ=",
"decoded": "hello world",
"isUtf8": true,
"hex": "68656c6c6f20776f726c64",
"length": 11
}サインインして詳細を見る
これらのエンドポイントのパラメータ、リクエストとレスポンスの例、ライブの Try it パネルは、サインインしたメンバー向けです。アカウントは無料で、数秒で作成できます。