michaelkirkpatrick / catalog-beer-api Goto Github PK
View Code? Open in Web Editor NEWThe API that powers Catalog.beer
The API that powers Catalog.beer
Implement function to handle posted beer duplicates
Implement duplicate handling function
Add update capability to brewer endpoint.
Add update capability to location endpoint.
Add update capability to beer endpoint.
if email = validated
if email domain = brewer domain (URL)
then add permission
When I enter:
curl -X GET https://api.catalog.beer/brewer/65911cdd-52e6-6305-3420-b9bbf6ea958d -H ‘Accept: application/json' -H ‘Authorization: Basic bccf12ab-1796-4745-9e1a-f71bee61b7ec'
I get a response of:
{"error":true,"error_msg":"Missing API key. Please check that your request includes your API key as the Username using HTTP basic auth and then try again."}curl: (6) Could not resolve host: application
What am I doing wrong?
The verbose version of the response is:
Note: Unnecessary use of -X or --request, GET is already inferred.
GET /brewer/65911cdd-52e6-6305-3420-b9bbf6ea958d HTTP/1.1
Host: api.catalog.beer
User-Agent: curl/7.71.1
Accept: /
Create a function that can check permission for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.