zoukankan      html  css  js  c++  java
  • 关于"Could not find acceptable representation"错误

    在项目中调用一个第三方服务,第三方服务是用Spring Boot写成的。结果调用时返回"Could not find acceptable representation"错误。

    经过调查和搜索,除了网上查到的其他方案之外,有可能是客户端Header参数Accept没有设置或者Accept设置的值在服务端不支持导致的,例如服务端自定义Accept值,而客户端没有传;或者传错了。

  • 相关阅读:
    RabbitMQ
    RabbitMQ
    RabbitMQ
    RabbitMQ
    RabbitMQ
    RabbitMQ
    RabbitMQ
    .net 5.0
    redis
    分布式同步服务中间件
  • 原文地址:https://www.cnblogs.com/liszt/p/7827419.html
Copyright © 2011-2022 走看看