Yep, you can definitely pass a dynamic variable in the POST request path without including it in the body. Make sure you're using the correct syntax for the URL like
https://example.com/{{ $json.bookId }} in tools like n8n.
Then in the body section, just leave out the bookId field entirely. Also, ensure the HTTP node is set to RAW/JSON and not sending an empty object by default.
Let me know if you want help setting it up properly