Cloud9 Webhook responses
Hello,
I have successfully been able to create a webhook with a FILE.UPLOADED trigger on a folder in my box account but do not receive either a GET or POST request to the specified URL when I upload a file to my box account.
I am using Cloud9 to host the application, so my URL looks like https://applications-UserName.c9users.io/WebHook, I am using node to look for the POST request that needs to be sent from box but have not seen the request come through even when checking for a GET request to the URL. I have also checked the SSL certificate of the URL I have given the webhook and it is valid. I am also using a developer token to allow my app access to the Box API.
Any suggestions on why I am not getting a response or how I can test to see if any response is coming back from the Box server would be greatly appreciated
-
Would it be possible to test these two things to help identify where the issue is?
1. Create a Box webhook that sends events to RequestBin. This will help us confirm if the Box webhook service is working as expected.
2. Make a POST request with cURL to your application. This will help us confirm if your application is receiving and processing requests as expected.
curl -d '{"key1":"test", "key2":"test"}' -H "Content-Type: application/json" -X POST https://applications-UserName.c9users.io/WebHook
Please sign in to leave a comment.
Comments
1 comment