MuleSoft Training Mod1
MuleSoft Training Mod1
1. Introduction to APIs
2. Introduction to Integrations
3. Introduction to RAML
APIs are all around us. Every time you use a rideshare app, send a
mobile payment, or change the thermostat temperature from your
phone, you’re using an API.
The basic function of a RESTful API is the same as browsing the internet. The client contacts the
server by using the API when it requires a resource. API developers explain how the client should
use the REST API in the server application API documentation. These are the general steps for any
REST API call:
1. The client sends a request to the server. The client follows the API documentation to format the
request in a way that the server understands.
2. The server authenticates the client and confirms that the client has the right to make that
request.
3. The server receives the request and processes it internally.
4. The server returns a response to the client. The response contains information that tells the
client whether the request was successful. The response also includes any information that the
client requested.
The REST API request and response details vary slightly depending on how the API developers
design the API.
Shubham Chaurasia linkedin.com/in/shubhamchaurasia1/
Integrations
1. Automation
API integration allows the handoff of information and data from one application to the next automatically.
Successful automation helps eliminate the manual (human) component, which saves time and
dramatically reduces errors.
2. Scalability
API integration allows businesses to grow since they don’t need to start from scratch when creating
connected systems and applications.
3. Streamlined Visibility/Communication/Reporting
API integration allows you end-to-end visibility of all systems and processes for improved communication
and reporting. With a streamlined approach, you can track and monitor data effectively, thereby creating
robust reports based on specific and comprehensive datasets.
4. Reduces Errors
API integration allows the transfer of complex and voluminous data with reduced errors and
inadequacies.
Shubham Chaurasia linkedin.com/in/shubhamchaurasia1/
RAML
RAML stands for RESTful API Modeling Language. It's a way of describing
practically-RESTful APIs in a way that's highly readable by both humans
and computers. We say "practically RESTful" because, today in the real
world, very few APIs today actually obey all constraints of REST.
RAML lets you see what your API looks like as you design it, using easy
to read plain text. Without having to write a single line of code you can
not only perfect your API design, but also create a fully functional mock
for customers, partners, or even your own internal engineers to review
and build off of.