Patent ID: 11956210
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 6:
7. An apparatus for transmitting an application programming interface (API) request, wherein the apparatus is a first API gateway, and the apparatus comprises:
a processor; and
a computer readable storage medium having instructions stored thereon that, when executed by the processor, cause the apparatus to:
receive a first API request;
obtain a first forwarding label corresponding to the first API request, wherein the first forwarding label comprises a first target security domain identifier, and a security domain identifier of the first API gateway is different from the first target security domain identifier; and
determine an address of a second API gateway according to a mapping relationship between the first target security domain identifier and the address of the second API gateway; and
send the first API request to the second API gateway based on the address of the second API gateway, wherein the second API gateway is a next-hop API gateway of the first API gateway that sends the first API request to an API gateway corresponding to the first target security domain identifier.