Getting invalid authorization

Hi,

Is it possible to run a straightforward URL in a browser to test the API, for example the following works for a Bank REST webservice over SSL:

https://www.unifiedsoftware.co.uk/services/bankvaluk/bankvalplus2/userid/MYUSERID/pin/MYPIN/sortcode/SEARCHSORTCODE/account/SEARCHACCNTNUM/xml .

where MYUSER and MYPIN represent my username and password for that webservice and SEARCHSORTCODE and SEARCHACCNTNUM are the search parameters.

I would guess that I would have to take my APIKEY, add a colon and put that through the base64 encoder. I could then use it in a URL something like:

https://api.companieshouse.gov.uk/search/companies?name=tesco&apiKey=MYBASE64APIKEYPLUS:

If I could get something like this working I could then start wrestling with Oracle wallets (or to be more exact ask a DBA to do that for me).

Thanks,
Chris

1 Like