Code Monkey home page Code Monkey logo

Comments (8)

wdloading avatar wdloading commented on May 27, 2024

我尝试用接口请求方式,一直返回403

图片

from hangfire.httpjob.

yuzd avatar yuzd commented on May 27, 2024

image

from hangfire.httpjob.

yuzd avatar yuzd commented on May 27, 2024

你用client端去添加 判断是否成功 你得看下 result 是多少。调试下

from hangfire.httpjob.

wdloading avatar wdloading commented on May 27, 2024

我把basic认证去掉了,但是用client去add任务时返回如下图2
image

image

from hangfire.httpjob.

wdloading avatar wdloading commented on May 27, 2024

另外,我GET周期性作业没有问题,但是POST就返回403了
image

from hangfire.httpjob.

yuzd avatar yuzd commented on May 27, 2024

看下配置是否少了
https://github.com/yuzd/Hangfire.HttpJob/wiki/00.QickStart
image

from hangfire.httpjob.

wdloading avatar wdloading commented on May 27, 2024

配置有,手工添加OK,就是写代码方式不行,我加下你QQ
image

from hangfire.httpjob.

wdloading avatar wdloading commented on May 27, 2024

找到原因了,hangfire和本身的webapi项目方一起了,两个的认证方式出现了冲突,所以返回403

from hangfire.httpjob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.