Quickstart for Eric Lake Resume REST API
Learn how to access my Resume via REST API call
Learn how to access my Resume via REST API call
cURL is a simple command line tool that allows you to make requests to a remote server. This is the fastest way to view my API resume.
Ensure that cURL is installed on your machine. In your favorite command line interface, execute curl --version
You should see some output information about the version of cURL installed on your machine. If you get a message indicating you do not have cURL installed, you may download and install cURL or use another method to view my API resume.
Once you have verified that cURL is installed, execute the following code in the command line: curl -k https://eric-lake-api-resume.vercel.app/api
The /api endpoint will list the available endpoints for you, or you can explore them here.
API clients like Postman and Insomnia allow for interacting with APIs using a visual user interface that make it easy to test API endpoints. This is the recommended way to view my API resume.
Download and install the API client of your choice. For this demonstration, I will be using Postman.
Open up your API client and create a new workspace. Navigate to make a http request.
Select GET and enter the following in the body:https://eric-lake-api-resume.vercel.app/api as the request URL and click Send.
View the response JSON in your API client. The /api endpoint will list the available endpoints for you, or you can explore them here.
Once you're set up with cURL or an API client, you can explore my API resume using various endpoints. Endpoints are different URLs where you can make GET requests to view the different parts of my resume.
See the available endpoints below:
You can also make a POST request to this endpoint sending JSON as the body of your request in the following format to leave a comment on my API resume:
{ "name": "Your Name", "email": "youremail@yourdomain.com", "message": "Here's where you can put your message." }NOTE: Message is limited to 400 characters.
Thanks for checking out my API resume. If you have any questions, you can email me at ericallenlake@gmail.com. You can also find me on GitHub, LinkedIn, or Twitter.