当前位置: 首页 > news >正文

佛山全网营销型网站建设教人做饮料的网站

佛山全网营销型网站建设,教人做饮料的网站,青岛同拓网站建设有限公司,wordpress 修改主页今天一个同事的接口突然报409,大概百度了一下,不是很清楚,谷歌也没找到特别好的解释 因为是直接调用的gitlab,就直接看了下gitlab的api The following table shows the possible return codes for API requests. Return valuesDescription200 OKThe GET, PUT or DELETE request…

今天一个同事的接口突然报409,大概百度了一下,不是很清楚,谷歌也没找到特别好的解释

因为是直接调用的gitlab,就直接看了下gitlab的api

The following table shows the possible return codes for API requests.

Return valuesDescription
200 OKThe GET, PUT or DELETE request was successful, and the resource itself is returned as JSON.
202 AcceptedThe GET, PUT or DELETE request was successful, and the resource is scheduled for processing.
204 No ContentThe server has successfully fulfilled the request, and there is no additional content to send in the response payload body.
201 CreatedThe POST request was successful, and the resource is returned as JSON.
304 Not ModifiedThe resource hasn't been modified since the last request.
400 Bad RequestA required attribute of the API request is missing. For example, the title of an issue is not given.
401 UnauthorizedThe user isn't authenticated. A valid user token is necessary.
403 ForbiddenThe request isn't allowed. For example, the user isn't allowed to delete a project.
404 Not FoundA resource couldn't be accessed. For example, an ID for a resource couldn't be found.
405 Method Not AllowedThe request isn't supported.
409 ConflictA conflicting resource already exists. For example, creating a project with a name that already exists.
412The request was denied. This can happen if the If-Unmodified-Since header is provided when trying to delete a resource, which was modified in between.
422 UnprocessableThe entity couldn't be processed.
429 Too Many RequestsThe user exceeded the application rate limits.
500 Server ErrorWhile handling the request, something went wrong on the server.

gitlab解释的很清晰,就是说资源已经存在了,再次创建失败

那为什么接口没有将报错message展示出来,查了一下代码是因为直接屏蔽了409状态码,直接用postman访问接口会返回具体错误信息,错误提示信息示例:

示例1:

{

    "message": "Email has already been taken"

}

示例2:

{

    "message": "Username has already been taken"

}

找gitlab负责人查了下数据,确实是用户已经存在了,但是用户状态是blocked(禁用),问题解决

http://www.yayakq.cn/news/244744/

相关文章:

  • 做阿里巴巴网站图片大全wordpress做dropping
  • 做设计必看十大网站苏醒的wordpress主题怎么样
  • 网站建设主管中国时政新闻
  • WordPress网站动漫你在电商网站建设行业现状
  • 苏州外贸网站建设优化推广十五款夜间禁用app免费ios
  • discuz 企业网站企业网站建设(信科网络)
  • 网站模板如何修改域名信贷网站建设
  • 企业建设网站找网站公司吗政务公开和网站建设工作的建议
  • 企业网站建设的必要性及维护进行网站开发的所有步骤
  • 网站建设企业网站怎么做信息流广告名词解释
  • 厚街镇做网站做移门图的 网站有哪些
  • 付费推广方式有哪些专门做网站搜索优化的公司
  • 做海报的网站类似于创客贴WordPress 网站成本
  • 帮做论文网站如何做php网站
  • 文档下载免费网站注册城乡规划师报考专业一览表
  • 押注网站建设南京市环保局官方南京做网站
  • 网站结构形式平台借钱哪个利息最低
  • 贵阳网站建设贵阳软件定制开发项目网
  • 小型购物网站建设腾讯云域名购买流程
  • 网站被挂黑后果无法访问网站
  • 企业网站优化推广方法中企动力z邮箱登陆
  • 关于建设工程招标类的公共网站dz还是wordpress
  • 典型的四大综合门户网站网页设计代码浮动效果
  • 渭南哪里做网站wordpress 模板 破解版
  • 做网站需要什么资质网站建设管理员工工资多少钱
  • 浙江省建设培训中心网站首页广州有资质的网页制作公司
  • vip影院自助建站系统济宁做网站优化
  • apache 配置php网站济南房地产网站建设
  • 网站开发应用到的技术名词做模版网站
  • 表格布局网站建湖做网站