Skip to content

Problem with using API for add set via postman #205

Answered by smartin015
evorotnikov asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @evorotnikov!

  1. You're correct, /set/add will always add your set to the local queue. That's mostly for legacy reasons, and could be amended to include a target queue in the request if you want to file a feature request :)
  2. CPQ uses OctoPrint's access control under the hood for its endpoints - if you're querying via the browser, the API/session key is already included which authenticates your request. Check out one of the examples to see how to set an API key to get access to CPQ's API.

Let me know if you hit any friction - happy to help!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@evorotnikov
Comment options

Answer selected by evorotnikov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants