Hi everyone, requesting for alternative function of
const response = await axios.get(http://ip-api.com/json/${ipAddress}
);
that can work in node.js to retrieve user ip address from appwrite server..
You want to get the user IP from browser?
Can you elaborate?
I want to get ip address of the user in appwrite server using node.js platform
The user was created in appwrite server. so i want to get his ip adress when running my function on node.js
If you'll run this function inside your Appwrite function then you'll always going to get you server IP I don't think Appwrite gives you the user IP in the backend.
many thanks
Please mark this post as SOLVED or CLOSED if no further help is needed.
where exactly is this nodejs server running? where does it fit into your architecture?
Hey, have that file which I have transcompiled to js. when I run index.js, I dont get any output, may you help please... I am running the file in nodejs
This looks unrelated to your original message, right? π§
Yes sir, but still under the same work
please create a separate post after searching <#1072905050399191082>
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...