Hilfsfunktionen
Kleine Hilfs-Endpunkte zum Verketten von Requests in API-Tests: IDs, Zeit, Kodierung, Hashes, Zufallsdaten, Lorem ipsum und JWT-Inspektion.
Dein Konto schaltet diese Endpunkte frei. Nutze Try it auf der Seite jedes Endpunkts, um Requests zu senden.
Diese Endpunkte brauchen ein kostenloses Konto. Leg eins an oder melde dich an, um ihre Details zu sehen und sie hier auszuprobieren.
- 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.
Beispiel-Request
Decode a base64 string. Vollständige Referenz und Send-Button (auf Englisch).
cURL
curl -X GET "https://api.testingapis.com/api/utils/base64/decode?value=aGVsbG8gd29ybGQ%3D"Antwort · 200 OK
{
"input": "aGVsbG8gd29ybGQ=",
"decoded": "hello world",
"isUtf8": true,
"hex": "68656c6c6f20776f726c64",
"length": 11
}Melde dich an, um die Details zu sehen
Die Parameter, die Beispiele für Request und Antwort und das Live-Panel Try it für diese Endpunkte sind für angemeldete Mitglieder. Konten sind kostenlos und in wenigen Sekunden angelegt.