-
Notifications
You must be signed in to change notification settings - Fork 3
class net.http.Destination
Ayhan Rashidov edited this page Sep 5, 2022
·
2 revisions
HTTP(s) destination that holds metadata, for example: host, port, useSSL. The destination can be retrieved from the database with $.net.http.readDestination.
https://help.sap.com/doc/3de842783af24336b6305a3c0223a369/2.0.03/en-US/$.net.http.Destination.html
let http = $.net.http;
let response_prev = require('http/v4/response');
/*
Read service.xshttpdest inside the Demo package that contains:
host=https://services.odata.org;
pathPrefix=/V4/Northwind/Northwind.svc/;
*/
let dest = http.readDestination("Demo", "service");
// Check if the file has been read properly
response_prev.println("Host: " +dest.host+ " Path Prefix: " +dest.pathPrefix);
✅ - Feature implemented and working as supposed.
❌ - Feature not implemented yet.