Skip to content

Adding HTTP server to desktop version #94

@msageryd

Description

@msageryd

I'm struggling to get the callbacks to work.

  1. In order to make a request to a non http endpoint I'm using the open npm package
  2. I'm using express.js to setup handlers for x-success and x-error callbacks

The data is received correclty, but the open library uses the default browser, so Chrome is opened as soon as I send a status 200 back after getting the callback.

I'm probably doing something stupid or overcomplicating stuff.

Also, I cannot make the request at all without providing the callback urls. Is there no way to just get the data in the reponse body of the initial request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions