文档中心 > Miravia Open Platform

Miravia - Call API with Postman

更新时间:2022/11/29 访问次数:486

1. Importing the Miravia Postman collection

postman collectionV2.json(Click on this link to download)

Download the postman collection file and import it into postman.

image

2. Setting common parameters

These parameters are necessary to call the API, please fill in your own according to your actual situation

Field Name

Field Explanations

app_key

The appkey that initiated the request, you can check the appkey in the APP console

app_secret

App secret must correspond with appkey, different app key has different appsecret, you can check in APP console - corresponding APP management page

access_token

An access token represents a store, and the access token generated by different appkeys is not common. Please refer to this document for the generation process

api_url

The endpoint you need to call. Currently there is only api.miravia.es

sign_method

Encryption method of signature, fill in sha256

image

3. Initiating a request using Postman

3.1. GET request

When requesting using the GET method, please use the parameters in Params, and uncheck the parameters you don't need to use.

image

Note: The mandatory parameters may be different for different APIs, please refer to the API reference for details

3.2. POST request

When you request the API using the POST method, please use the parameters in the Body and use the x-www-form-urlencoded format.

image

Note: The mandatory parameters may be different for different APIs, please refer to the API reference for details

FAQ

关于此文档暂时还没有FAQ
返回
顶部