Help Center/
Web3 Node Engine Service/
Getting Started/
Shared/
Step 3: Combine an API Key with HTTPS/WebSocket
Updated on 2024-05-10 GMT+08:00
Step 3: Combine an API Key with HTTPS/WebSocket
Combine the obtained API key with the HTTPS or WebSocket parameter to call the API.
Prerequisites
You have created a DApp project.
Procedure
- On the NES console, choose Shared > DApp Project Management.
- Click a DApp.
- Obtain the values of API Key, WebSocket, and HTTPS.
- Combine the HTTP or WebSocket parameter with the API key as follows:
- HTTP: https://your-http-endpoint/api-key. For example, https://polygon-mainnet.shared-fullnode.bcs.ap-southeast-3.myhuaweicloud.com/v1/xxxxxxxxxxxx
- WebSocket: wss://your-http-endpoint/api-key. For example, wss://polygon-mainnet.shared-fullnode.bcs.ap-southeast-3.myhuaweicloud.com/v1/xxxxxxxxxxxx
Parent topic: Shared
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot