如何在viber公共帐户api中发送'(撇号)?

时间:2017-02-20 06:48:57

标签: api viber

当我使用下面的api发送短信时, 资源网址

https://chatapi.viber.com/pa/send_message

发布数据

{
   "auth_token": "4453b6ac1s345678-e02c5f12174805f9-daec9cbb5448c51r",
   "receiver": "01234567890A=",
   "type": "text",
   "text": "I'm a test user"
}

输出:

I%27m a test user

我认为这些符号是编码格式的。有没有办法使用viber公共帐号api发送'(撇号)或符号?

1 个答案:

答案 0 :(得分:0)

您是否尝试过以下操作?

{
   "auth_token": "4453b6ac1s345678-e02c5f12174805f9-daec9cbb5448c51r",
   "receiver": "01234567890A=",
   "type": "text",
   "text": "I\'m a test user"
}