To make external API calls from backstage, we need proxy and roadie http request plugin. We have proxy already included in backstage-app. We are adding roadie plugin to cnoe backstage-app, to support external API calls.
This plugin supports below methods:
GET
POST
UPDATE
PATCH
DELETE
PUT
To make external API calls from backstage, we need proxy and roadie http request plugin. We have proxy already included in backstage-app. We are adding roadie plugin to cnoe backstage-app, to support external API calls.
This plugin supports below methods: GET POST UPDATE PATCH DELETE PUT
How to use this action?
Step1: Update backstage app-config.yaml file proxy.
proxy: /abc: https://example.com
Step2: Use "http:backstage:request" action in scaffolder template.
- id: backstage_request name: backstage request action: http:backstage:request input: method: 'GET' path: '/proxy/abc/whatsmyip'