Git Product home page Git Product logo

Comments (11)

fjogeleit avatar fjogeleit commented on May 26, 2024 1

Hey, thanks for reporting. I will have a look next week

from http-request-action.

l-maciej avatar l-maciej commented on May 26, 2024 1

from http-request-action.

fjogeleit avatar fjogeleit commented on May 26, 2024 1

hm okay, thanks for checking. Sorry I am out of ideas and without testing it myself its hard to find a possible reason.

from http-request-action.

fjogeleit avatar fjogeleit commented on May 26, 2024

The Status means Not Implemented. I would assume that maybe the URL is not correctly rendered. Did you check if the value of the secret is correct and the ID format? So just want to be sure that its no format error by having for example and additional / in the generated URL. Did you also run the action with enabled debugging to check if everything is setup correctly?

from http-request-action.

l-maciej avatar l-maciej commented on May 26, 2024

Hey

I've copied the non-secret part of URL to Postman and used the same credentials and it worked just right.

I will double-check on my end, but I've copied whole step from working one and changed method from POST to DELETE and changed visible url.

I'm currently bit off grid but when I'm back I will try out local run from binary too.

from http-request-action.

fjogeleit avatar fjogeleit commented on May 26, 2024

Okay, just wanted to be sure.

I'll check if I see something. But maybe you see something in the logs which looks not as it should.

from http-request-action.

fjogeleit avatar fjogeleit commented on May 26, 2024

Do you still have issues?

from http-request-action.

l-maciej avatar l-maciej commented on May 26, 2024

Ok I've conducted some tests from runner VM using same key as before:

  • GET call just to get some sanity check if I'm running tool correctly ( went fine)

image

  • DELETE call to check what is wrong and it failed
    image
    It should return 500 - VM running (due to my oversight)
    image

VM was stopped and running from binary returned same 501 error
On the other hand postman worked without any issues
image

Can I somehow enable logging for the app running from the binary ?

from http-request-action.

fjogeleit avatar fjogeleit commented on May 26, 2024

Sorry for the late response. The binary does not have more logging right now.

mine thing which came into my mind is that maybe some defaults causing your issue. Like the content type which is set to application json by default. I thing in your working request is no content type set. So you could check if either the content type or default body could be a reason for your server error.

from http-request-action.

l-maciej avatar l-maciej commented on May 26, 2024

Postman by default uses application/json and body is not defined
http-request-action uses application/json and body contains {} by default

cURL generated by postman (I've verified and it works as intended):

curl --location --request DELETE 'XXXX' \ --header 'Content: application/json' \ --header 'Authorization: PVEAPIToken=XX'

from http-request-action.

l-maciej avatar l-maciej commented on May 26, 2024

@fjogeleit No worries. let me know when I can help with the tests.

from http-request-action.

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.