-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with direct project service #8
Comments
I think this can be done as part of NodeJS event handling |
@ajefts can you please provide api endpoints and sample request for each of these calls please |
Here is the generated code from postman. The service is returning a 502 in dev. Do you remember how you had it setup? Create Project: var http = require("https"); var options = { var req = http.request(options, function (res) { res.on("data", function (chunk) { res.on("end", function () { req.write("{\n "projectName": "Tony Test 1",\n "projectDescription": "test 1 description"\n}"); Get Project: var http = require("https"); var options = { var req = http.request(options, function (res) { res.on("data", function (chunk) { res.on("end", function () { req.write("{\n "projectName": "Tony Test 1",\n "projectDescription": "test 1 description"\n}"); Add Billing account to project: var http = require("https"); var options = { var req = http.request(options, function (res) { res.on("data", function (chunk) { res.on("end", function () { req.write("{\n "billingAccountID": 123456789\n}"); Add Copilot to Project: var http = require("https"); var options = { var req = http.request(options, function (res) { res.on("data", function (chunk) { res.on("end", function () { req.write("{\n "copilotUserId": 123456789\n}"); |
The text was updated successfully, but these errors were encountered: