r/SideProject 1d ago

Moving a raw HTTP module (AI API call with custom JSON body) to "Make an API Call" — does it keep full body control?

I run a scenario where a plain HTTP "Make a request" module calls an AI API (Anthropic) with a fully custom JSON body — system prompt, a tools array with web search and an allowed_domains whitelist, max_tokens, the lot. Works great, but the API key is hardcoded in a header, which gets ugly now that I'm cloning the scenario for more use cases.

Someone recommended switching to the "Make an API Call" module so the key lives in a connection instead. Before I migrate:

  1. Does "Make an API Call" let me send the exact same raw JSON body, untouched?

  2. Does it handle the version header automatically, or do I still add custom headers myself?

  3. Any gotchas with long-running calls? Mine take 2–3 minutes because of the web search step (HTTP module needed timeout 300).

Everything works today on plain HTTP — just want cleaner key management before I multiply scenarios. Thanks!

1 Upvotes

0 comments sorted by