How to use the API Key in Postman and node.js (request module)?

I’ve been trying to use the company house API to query the company by name. How should I use the API key provided by the Company House? I’m trying with POSTMAN and node.js using request module. I’m getting 401 error, so I think I’m not using the API Key in the right way… Thanks


The API key needs to be appended with a colon and then base 64 encoded. The following forum post maybe of help

Hope this helps and resolves the issue.