Make POST requests from Superfeedr on localhost

217 views Asked by At

I want to subscribe to a feed using Supefeedr.

I have server running on my laptop. So, I just want to know how can I make Superfeedr to POST HTTP requests on my local server using a webhook. I am using Java as my base language. I just want to test how Superfeedr works. So can anyone help me with that? I have very less knowledge about PubSubHubbub protocol.

2

There are 2 answers

0
Julien Genestoux On BEST ANSWER

The problem you're experiencing is a common problem with webhooks: they only work if your 'listening' server is available outside the firewall. If you deploy on your local machine, you can either simulate the calls from a local HTTP client (like Curl), or use a tool to expose your local port(s) to the web.

There are multiple solutions, including ngrok, passageway, localtunnel, Forwardhq and more I'm sure!

Finally, you could also do that with ssh tuneling if you own a server that's already available to the outerweb as explained in this question.

0
chrylis -cautiouslyoptimistic- On

I recommend the localtunnel.me utility; it gives you a publicly-accessible URL that forwards to a local machine and is great for testing postbacks and Web hooks.