[HN Gopher] XINF
___________________________________________________________________
XINF
Author : ZeroTerabytes
Score : 45 points
Date : 2023-04-22 14:18 UTC (8 hours ago)
(HTM) web link (xinf.dev)
(TXT) w3m dump (xinf.dev)
| jkrubin wrote:
| Can you add an 'iodd' endpoint? Would be very helpful to a
| project I am working on.
| cjohnson318 wrote:
| I'm curious, what would an "iodd" endpoint be?
| dgacmu wrote:
| https://news.ycombinator.com/item?id=16901188
| TickleSteve wrote:
| How about: http://leftpad.dev
| jstanley wrote:
| The "echo" endpoint supposedly "returns what you sent to the
| server", but the output includes X-Forwarded-For headers that are
| obviously part of your internal HTTP routing and are not part of
| what the client sent to the server, as well as various other
| headers not sent by my client.
|
| Also, the "myip" endpoint returns 2 different IP addresses. One
| is mine, the other is yours.
| ZeroTerabytes wrote:
| A simple JSON api written in Go, that does a lot of small but
| useful stuff, such as: - Numbers to Words! - Name Generator for
| your 235231759082318th side project GitHub repository! - Echoing
| what you sent to the server, like a little cave :D - Open
| location/Plus codes from coordinates! - Hashing, because that's
| always nice. - Random stuff!
| lucb1e wrote:
| > A simple JSON api written in Go, that does a lot of small but
| useful stuff, such as:
|
| > - Numbers to Words!
|
| > - Name Generator for your 235231759082318th side project
| GitHub repository!
|
| > - Echoing what you sent to the server, like a little cave :D
|
| > - Open location/Plus codes from coordinates!
|
| > - Hashing, because that's always nice.
|
| > - Random stuff!
| bastawhiz wrote:
| Who is the demographic for this? Essentially all of the
| functionality here is available in the standard library for most
| languages. If not, you can use a library that's probably pretty
| small and doesn't rely on some third party system that you have
| no control over. It's certainly not about trust: if you don't
| trust your computer's own random number generator, how can you
| trust a (TLS encrypted???) HTTP connection to some other system?
| Ocha wrote:
| It might be useful in shell scripts with jq.
| spicybright wrote:
| As long as the site never goes down...
| RockRobotRock wrote:
| That applies to every website
___________________________________________________________________
(page generated 2023-04-22 23:01 UTC)