Solving API Access Issues: Why Does RDAP Work Everywhere Except on Railway?
jorgediasdsg
HOBBYOP

2 years ago

I am using the RDAP API to solve a problem in my study.

The documentation for the API can be found here: RDAP API Documentation

A simple example of an API call is:

https://rdap.registro.br/ip/[ip_address]

For example, you can use an IP address in Brazil like this:

https://rdap.registro.br/ip/200.160.4.6

The API works well when I call it from another origin. However, when I try to call it from the Railway platform, I receive a 404 error.

Can you help me resolve this issue?

3 Replies

brody
EMPLOYEE

2 years ago

If I call that provided domain with that IP from a Railway service I get a 200 status code -

https://utilities.up.railway.app/request-test?url=https://rdap.registro.br/ip/200.160.4.6

This would indicate that there is an issue with your code that needs to be addressed, perhaps you aren't URL encoding the path?


jorgediasdsg
HOBBYOP

2 years ago

I am using N8N application, when I send request, I receive 403.


brody
EMPLOYEE

2 years ago

You had previously mentioned 404?

I unable to reproduce, meaning this is an issue with the application that's making the request.


Loading...