YoVDO

Fun With SAP BTP Cloud Management Service and Core Services APIs

Offered By: SAP via YouTube

Tags

SAP Courses Software Development Courses OAuth Courses JSON Courses Cloud Management Courses Bash Scripting Courses cURL Courses jq Courses

Course Description

Overview

Explore the inner workings of SAP BTP Cloud Management Service and Core Services APIs in this comprehensive video tutorial. Dive deep into btp CLI calls, learn about OAuth 2.0 password grant flow, and create custom scripts for API interactions. Discover how to use tools like curl, jq, and fx to manipulate JSON data, and compare API outputs with btp CLI results. Gain hands-on experience in creating service instances, generating service keys, and making authenticated API calls. Perfect for developers looking to enhance their understanding of SAP BTP's underlying mechanisms and API interactions.

Syllabus

Welcome & introduction
Taking a quick look at the Core Service APIs on SAP API Business Hub
Focusing in on the "Regions for Global Account" API endpoint
Looking at how my btplogin script works, making use of the 'pass' command
Examining what "btp list accounts/available-region" gives us
Skimming the access token documentation URL above
Finding what our CF API endpoint is, via the btp CLI
Logging in with cf login
Creating an instance of the Cloud Management Service cis with the appropriate service plan central
Creating a service key for that instance
Storing the service key details cleaning the cruft away with sed and examining them
Looking at the OAuth 2.0 "password grant" which is used to protect the resources and how to request a token using that flow
Writing a 'gettoken' script to request an access token via the password grant flow
Calling 'gettoken' and examining the results
Writing a 'callapi' script to use the access token to call the Core Service API endpoint
Calling 'callapi' and receiving the data center data we've asked for
Comparing the JSON output from this API call with the JSON output of the btp CLI call and seeing that they are the same!


Taught by

SAP Developers

Related Courses

Введение в Linux
Bioinformatics Institute via Stepik
Linux Tools for Developers
Linux Foundation via Coursera
Using Python to Interact with the Operating System
Google via Coursera
Scripting Bash - Découverte du Langage de Programmation
Coursera Project Network via Coursera
Automation Scripts Using Bash
Coursera Project Network via Coursera