METHOD AND APPARATUS FOR TRANSMITTING APPLICATION PROGRAMMING INTERFACE (API) REQUEST

Provided are a method and apparatus for transmitting an application programming interface (API) request, relating to the technical field of computers. The method comprises: a first API gateway receiving a first API request; the first API gateway acquiring a first forwarding label corresponding to th...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LU, Xin, HUI, Yugeng, CHEN, Jin
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Provided are a method and apparatus for transmitting an application programming interface (API) request, relating to the technical field of computers. The method comprises: a first API gateway receiving a first API request; the first API gateway acquiring a first forwarding label corresponding to the first API request, the first forwarding label containing a first target security domain identifier, wherein a security domain identifier of the first API gateway is different from the first target security domain identifier; and the first API gateway determining, according to a correlation between the first target security domain identifier and the address of a second API gateway, the address of the second API gateway, and sending, according to the address of the second API gateway, the first API request to the second API gateway, wherein the second API gateway is a next-hop API gateway of the first API gateway to send the first API request to an API gateway corresponding to the first target security domain ident