DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Data Engineering
  3. Databases
  4. Writing Your First RAML on Anypoint Platform

Writing Your First RAML on Anypoint Platform

It only takes ten steps to run a RAML API definition on the Anypoint Platform.

nikhil bangar user avatar by
nikhil bangar
·
Jan. 22, 17 · Tutorial
Like (2)
Save
Tweet
Share
5.39K Views

Join the DZone community and get the full member experience.

Join For Free

As we know, the development process happens in two phases: the design phase and the development phase. In the design phase, we design the API with API Designer and give it to the user for testing, and let the actual code get ready later to meet the spec. Let's get started.

1. Sign up for the Anypoint Platform.

Image title

2. Find the API Manager link.

Image title

3. The below page will appear. Click on the link that I've highlighted.

Image title

4. Click on Add New API to get started.

Image title

5. Provide the API name and the Version name.

Image title

6. The page will show Project explorer, Editor, Shelf, and the API Console.

Image title

7. Rename the existing RAML file based on your requirements.

Image title

8. The RAML code for the Customer API is the resource customer, which has methods like Get Customer and Get Customer by ID.

Image title

9. Activate the mocking service.

Image title

10. To run the RAML API definition, click on GET on the API Console. The following response will be shown.

Image title

And that's it!

API

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 10 Things to Know When Using SHACL With GraphDB
  • The Power of Docker Images: A Comprehensive Guide to Building From Scratch
  • What Is JavaScript Slice? Practical Examples and Guide
  • Distributed Tracing: A Full Guide

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: