Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

http-only site to test REST requests?

After the latest move by httpbin to HTTPS, apparently all sites that accepted test REST requests have disappeared. I've checked all mentioned in this post, and either they do not allow all kind of requests, or have also moved to HTTPS. For Raku modules such as this one, LWP::Simple, we need a HTTP-only site due to problems with certain operating systems. So is there any site left or will we have to roll out our own server?

like image 533
jjmerelo Avatar asked Apr 27 '18 18:04

jjmerelo


People also ask

How do I test HTTP requests?

Here are some tips for testing POST requests: Create a resource with a POST request and ensure a 200 status code is returned. Next, make a GET request for that resource, and ensure the data was saved correctly. Add tests that ensure POST requests fail with incorrect or ill-formatted data.


2 Answers

You can use http://eu.httpbin.org. This URL doesn't redirect http to https.

like image 173
Jesús Amieiro Avatar answered Sep 27 '22 19:09

Jesús Amieiro


http://www.neverssl.com/ and http://neverssl.com/ are another good options. They will never use HTTPS/SSL.

like image 25
Ryan Wu Avatar answered Sep 27 '22 18:09

Ryan Wu