Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 855 Bytes

File metadata and controls

37 lines (24 loc) · 855 Bytes

CLINQ-Bridge for Copper

This service provides contacts from Copper for CLINQ.

Development

yarn && yarn start

getContacts

curl -H "X-Provider-Key: mail@example.com:XXXXXXXXXXXXXXXXXX" localhost:8080/contacts

createContact

curl -H "content-type: application/json" -H "X-Provider-Key: mail@example.com:XXXXXXXXXXXXXXXXXX" --data @contact.json localhost:8080/contacts

updateContact

curl -X PUT -H "content-type: application/json" -H "X-Provider-Key: mail@example.com:XXXXXXXXXXXXXXXXXX" --data @contact.json localhost:8080/contacts/1234567890

deleteContact

curl -X DELETE -H "content-type: application/json" -H "X-Provider-Key: mail@example.com:XXXXXXXXXXXXXXXXXX" localhost:8080/contacts/1234567890

License

Apache 2.0