
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
apiconnect
Advanced tools
The API Connect Developer Toolkit provides a visual designer and a set of command-line tools for augmenting the local API create experience and to make it easy for developers to interact with API Connect clouds in Bluemix and on premises.
The toolkit includes the following features:
API Designer: A visual tool for creating, testing, and publishing APIs and applications.
API Explorer: A visual tool for exploring and testing APIs.
Loopback: A highly-extensible, open-source Node.js framework for quickly creating dynamic end-to-end REST APIs.
Micro Gateway: A gateway to support unit testing of policies to secure and enforce APIs as part of the local development experience.
The apic CLI: A set of commands to augment the local API create experience and for publishing APIs and applications to API Connect clouds in Bluemix and on premises.
$ npm install -g apiconnect
Preqrequisites:
Get help on the apic command set:
$ apic -h
Create a LoopBack application (take the defaults selecting hello-world which installs a sample application):
$ apic loopback --name notes
Change into the LoopBack application directory:
$ cd notes
Start the services for the local unit test environment:
$ apic start
Use curl
to invoke the sample application to create a note and then list the notes. Scroll to the right to see the full command :
curl -k -X POST https://localhost:4002/api/Notes -H 'X-IBM-Client-Id: default' -H 'X-IBM-Client-Secret: SECRET' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{ "title": "This is my first note" }' -v
curl -k https://localhost:4002/api/Notes -H 'X-IBM-Client-Id: default' -H 'X-IBM-Client-Secret: SECRET'
Start the API Designer and explore the application:
$ apic edit
FAQs
IBM API Connect Developer Toolkit
The npm package apiconnect receives a total of 30 weekly downloads. As such, apiconnect popularity was classified as not popular.
We found that apiconnect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.