桑帛云API

摩斯电码加解密

GET 无需 Key 运行中

接口简介

能够高效地将普通文本与摩斯电码之间进行相互转换,为通信爱好者、教育工作者或需要使用摩斯电码进行信息传递的用户提供了一种可靠的加密和解密解决方案

接口地址

https://api.lolimi.cn/API/mos/index

请求示例

测试访问
https://api.lolimi.cn/API/mos/index?key=你的key&msg=输入内容&type=请求类型

返回预览

JSON
{
    "status": 200,
    "data": "-..----.--.....\/-.--..-.-----.-"
}

请求参数

参数名类型必填描述
keystringRequired控制台key
msgstringRequired加密解密内容
typestringRequireden等于加密de等于解密

返回参数

参数名类型描述
codeint状态码
datastring获取内容

参数配置

登录获取 Key
<?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;
概览
文档
调试
代码
已复制到剪贴板