使用api键对json数据类型执行curl hhtp post请求
我已经找到了很多帖子,但无法获得完整的命令来使用api键在url上发布json数据。所有示例都有用户和登录名或无授权链接使用api键对json数据类型执行curl hhtp post请求,curl,http-post,httpclient,Curl,Http Post,Httpclient,我已经找到了很多帖子,但无法获得完整的命令来使用api键在url上发布json数据。所有示例都有用户和登录名或无授权链接 curl -X POST -H "Content-Type: application/json" \ -d {JSON Data} \ https://postURL 我可以在哪里安装Api密钥 我的json如下所示: { "AlgorithmNum": 544, "values": [
curl -X POST -H "Content-Type: application/json" \
-d {JSON Data} \
https://postURL
我可以在哪里安装Api密钥
我的json如下所示:
{
"AlgorithmNum": 544,
"values": [
{
"size": "231",
"language": "c",
"result": {
"executiontime": 341.1,
"runtimememory": 554,
"cells": 12,
"platform" " "android"
}
}
]
}