收藏
回答

为什么invokeService接口接入人像分割总提示data format error?

{"service":"****","api":"segmentPortraitPic","data":{"Action":"SegmentPortraitPic","Url":"https://***/uploads/20220125/306270c9f517e8aec9bfbd112c87774e.jpg"},"client_msg_id":"015947346086","async":""}



header:

array(4) {
  [0] => string(28) "contentType:application/json"
  [1] => string(41) "Wx-ServiceMarket-AppID:************"
  [2] => string(52) "Wx-ServiceMarket-OpenID:********"
  [3] => string(39) "Wx-ServiceMarket-ClientIP:111.****.****.180"
}


回答关注问题邀请回答
收藏

1 个回答

  • 九歌^
    九歌^
    2022-01-26

    data格式错误,没用过这个 api。是否需要序列化一下。

    2022-01-26
    有用
    回复 1
    • 子任
      子任
      2022-01-26
      没说需要序列化
      2022-01-26
      回复
登录 后发表内容