摩斯电码加解密
GET
无需 Key
运行中
接口简介
能够高效地将普通文本与摩斯电码之间进行相互转换,为通信爱好者、教育工作者或需要使用摩斯电码进行信息传递的用户提供了一种可靠的加密和解密解决方案
接口地址
https://api.lolimi.cn/API/mos/index请求示例
测试访问https://api.lolimi.cn/API/mos/index?key=你的key&msg=输入内容&type=请求类型返回预览
JSON{
"status": 200,
"data": "-..----.--.....\/-.--..-.-----.-"
}
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| key | string | Required | 控制台key |
| msg | string | Required | 加密解密内容 |
| type | string | Required | en等于加密de等于解密 |
返回参数
| 参数名 | 类型 | 描述 |
|---|---|---|
| code | int | 状态码 |
| data | string | 获取内容 |
参数配置
登录获取 KeyResponseWaiting...
<?php
$url = "https://api.lolimi.cn/API/mos/index";
$params = array (
'key' => 'value',
'msg' => 'value',
'type' => 'value',
);
$url .= '?' . http_build_query($params);
$res = file_get_contents($url);
echo $res;