周公解梦详情API接口

周公解梦原版大全查询免费 - 周公解梦大全查询系统,拥有最全面的现代周公解梦破解大全查询数据,供广大网友进行解梦查询。

接口文档 《查看会员》
接口地址: http://api.toolfk.com/api/meng-detail | 在线体验接口
请求方法: [ "GET", "POST" ]
请求参数:
名称 类型 描述 示例
token string 请求的token 用户中心获取token
title string 梦见的** 大蟒蛇
-- 漂亮的分割符 --
返回数据:

{
    "status": 1,
    "data": {
        "cate_level_1": "动物篇",
        "cate_level_2": "冷血类",
        "title": "大蟒蛇",
        "content": "<p></p>\n<p>\t梦见大蟒蛇,它表示多风多雨的时期,以及糟糕的运气,但随之人性会复苏。</p>\n<p>\t梦见杀死大蟒蛇,是好梦。</p>\n<p>\t女人梦见大蟒蛇,自己和孩子都会生病。</p>\n<p>\t商人梦见大蟒蛇,能发财。</p>\n<p>\t梦见捕杀大蟒蛇时鲜血四溅,家有忧患的征兆,家庭成员出现健康问题,或将有修理、增建住宅的事情。</p>\n<p>\t<strong>梦见蟒蛇的案例分析</strong></p>\n<p>\t梦境描述:我梦见在一座山上,一条大蟒蛇生了一条小蟒蛇,我和男友,还有他的朋友一起在山上玩。结果大蟒蛇要吃他们,唯独不吃我,我就去救他们,却激怒了大蟒蛇,于是它就追我,我却从山顶上往下飞,穿越树丛,非常危险。(女性,24岁)</p>\n<p>\t梦境解析:这个梦说明即将面对婚后的生育问题的你未做好充分的心理准备,对于婚后是否要孩子还存在恐惧的心理。对于婚后的生育充满“好奇”和“恐怖\";“大蛇生小蛇”代表生育,“追逐”象征着恐惧的情绪,“飞”则表示你面对恐惧所采取的办法是逃避。</p>",
    }
}
                
                            
代码示例:
  • Curl
  • PHP
  • Java
  • Python
  • JavaScript
  • Go
  • Nodejs

    curl -X POST \
    http://api.toolfk.com/api/meng-detail \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -d 'token=用户中心获取&title=%E5%A4%A7%E8%9F%92%E8%9B%87'
                                       
//记得去掉这个 "\" 斜线
<\?php
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "http://api.toolfk.com/api/meng-detail",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "token=用户中心获取&title=%E5%A4%A7%E8%9F%92%E8%9B%87",
  CURLOPT_HTTPHEADER => array(
    "Content-Type: application/x-www-form-urlencoded",
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
   

OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "token=用户中心获取&title=%E5%A4%A7%E8%9F%92%E8%9B%87");
Request request = new Request.Builder()
  .url("http://api.toolfk.com/api/meng-detail")
  .post(body)
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .build();

Response response = client.newCall(request).execute();


                                       
import requests

url = "http://api.toolfk.com/api/meng-detail"

payload = "token=用户中心获取&title=%E5%A4%A7%E8%9F%92%E8%9B%87"
headers = {'Content-Type': "application/x-www-form-urlencoded"}

response = requests.request("POST", url, data=payload, headers=headers)

print(response.text)
var data = "token=用户中心获取&title=%E5%A4%A7%E8%9F%92%E8%9B%87";

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
    if (this.readyState === 4) {
        console.log(this.responseText);
    }
});

xhr.open("POST", "http://api.toolfk.com/api/meng-detail");
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

xhr.send(data);
                                       
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "http://api.toolfk.com/api/meng-detail"

	payload := strings.NewReader("token=用户中心获取&title=%E5%A4%A7%E8%9F%92%E8%9B%87")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/x-www-form-urlencoded")

	res, _ := http.DefaultClient.Do(req)

	async res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
                                       
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "http://api.toolfk.com/api/meng-detail"

        payload := strings.NewReader("{
          "token": "用户中心获取token",
          "type": "a",
          "format": "json"
        }")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/x-www-form-urlencoded")

	res, _ := http.DefaultClient.Do(req)

	async res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
                                       
返回状态码 status 描述参照
返回码 描述
status 1:表示成功,0:表示失败
data 成功返回数据
errmsg 失败返回数据
备注:开通API接口服务,可同时享用 www.toolfk.com 网站的会员工具。