Request builder for API calls to Federico Calo's services
HTTP client in browser - test REST APIs without installing anything.
Come utilizzare API Request Builder
Set method and URL
Choose an HTTP method (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) and enter the URL of the endpoint to test.
Configure Header, Authentication, and Query Parameters
Add custom headers or use quick presets, set authentication (Bearer, Basic or API Key) and query parameters in the dedicated sheet.
Compose the request body
For POST, PUT and PATCH, write your body in JSON (with auto-validation and formatting), form-data or plain text.
Send and analyze the response
Send request to view response status code, response time, headers and body. The history of the last requests is saved in the browser.
Suggerimenti
- Use quick preset headers (Content-Type, Accept, Authorization) to avoid re-typing them every time.
- Format button in the JSON body reindents text and immediately signals any syntax errors.
- If the API requires CORS and doesn't respond, try testing it first with curl or Postman to isolate if the issue is server-side or browser-side.
Domande frequenti
Are my requests sent to an external server?
No: requests go directly from your browser to the endpoint you specify, via HttpClient in Angular, with no proxies or intermediate servers intercepting them; it works like a client-side HTTP execution.
Why am I getting an error even if the URL is correct?
The most common cause is CORS block: the destination server must expose Access-Control-Allow-Origin headers to allow requests from a different domain (like this tool). If the API does not permit it, the browser blocks the response even if the request is formally correct.
What's the difference between a Bearer Token, Basic Auth, and an API Key?
Bearer Token adds an Authorization header with a token (typical of OAuth2/JWT). Basic Auth encodes username and password in Base64 in the same header. API Key instead inserts a custom header (e.g. X-API-Key) with the key value. The tool automatically generates the correct header based on the chosen type.
Is the request history saved online?
No, the timeline (up to 10 requests) is saved only in your browser's local storage and not sent to any server. You can clear it at any time with the dedicated button.
Can I use this tool instead of Postman or Insomnia?
Fast testing yes: covers common use cases (header, auth, body, query params, history) without installations. For complex collections, multiple environments, automated tests or mock servers, dedicated desktop tools remain more complete.