Understanding Full Permission API Key
How to make API calls using API Key and API Secret combination?
API calls can be made using the the API Key and API Secret combination. They omit all the security measure.
While making the API calls instead of passing the x-apikey header, basicAuth can be used.
Basic authentication is a simple authentication scheme built into the HTTP protocol. To use it, send your HTTP requests with an Authorization header that contains the word Basic followed by a space and a base64-encoded string
api-key:api-secret
Example:
Authorization: Basic ZGVtbzpwQDU1dzByZA==
Example
curl --location --request POST 'https://platform.nector.io/api/v2/merchant/leads' \
--header 'authorization: Basic ZGVtbzpwQDU1dzByZA==' \
--header 'x-source: <source>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_id": "customer-id"
}'
We strongly recommend using it only from backend servers
Last modified 1yr ago