@Josh : thank you for the link to the first steps and I’ve created a first API. I thought it would be simple, but it ends up in many hours of wasted time: API is not working. This is my case:
Source web server
path is secured with .htaccess
Correct username and
password grant access.
I’ve created a Tyk API with these parameters:
API Creation --> Basic Auth ??? is this correct ??? - I don’t know
Keys --> Access Rights
The only one access rule added.
Keys --> Metadata
But checking with Postman provides errors:
a) GET without
Authorization provides error:
"error": "Authorization field missing"
OK, now next.
b) GET with so-called “Bearer Token”. I suppose, that the “Bearer Token” is the token I received from Tyk while creating Key. Correct? But I get the following error:
"error":"Attempted access with malformed header, values not in basic auth format"
c) Next trial: GET with Basic Auth
With same Username and Password that I use for .htaccess.
"error":"User not authorised"
Until now, creating an API is a hassle for me. The problem is that there are so many
parameters and so many unclear definitions that leaves me completely confused.