[GH-ISSUE #263] Specify base URL in the android app #32

Closed
opened 2026-03-03 16:36:05 +03:00 by kerem · 2 comments
Owner

Originally created by @thisjt on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/263

Would it be possible to allow us to specify our base URL in the android app? I already have an express NodeJS app running online and I'm planning to integrate the API to that. Upon reconstructing the API requests, it seems that our base URL is /v1. That's fine by me, but it would be nice if I can configure this.

In the server URL input in the android app I tried specifying my own base URL by extending it from https://example.com to https://example.com/smsapi and I should expect it to do requests either in /smsapi or /smsapi/v1 but in the server logs it's still doing requests in /v1

Originally created by @thisjt on GitHub (Aug 30, 2023). Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/263 Would it be possible to allow us to specify our base URL in the android app? I already have an express NodeJS app running online and I'm planning to integrate the API to that. Upon reconstructing the API requests, it seems that our base URL is `/v1`. That's fine by me, but it would be nice if I can configure this. In the server URL input in the android app I tried specifying my own base URL by extending it from `https://example.com` to `https://example.com/smsapi` and I should expect it to do requests either in `/smsapi` or `/smsapi/v1` but in the server logs it's still doing requests in `/v1`
kerem closed this issue 2026-03-03 16:36:05 +03:00
Author
Owner

@AchoArnold commented on GitHub (Aug 30, 2023):

Hello @thisjt
I'll work on this when I can, In the mean time, you can work around this by editing the URL manually here https://github.com/NdoleStudio/httpsms/blob/main/android/app/src/main/java/com/httpsms/HttpSmsApiService.kt

<!-- gh-comment-id:1699460855 --> @AchoArnold commented on GitHub (Aug 30, 2023): Hello @thisjt I'll work on this when I can, In the mean time, you can work around this by editing the URL manually here https://github.com/NdoleStudio/httpsms/blob/main/android/app/src/main/java/com/httpsms/HttpSmsApiService.kt
Author
Owner

@AchoArnold commented on GitHub (Aug 31, 2023):

Hello @thisjt

I just pushed a new version of the app with the fix, Try it out and let me know https://github.com/NdoleStudio/httpsms/releases/tag/v0.0.6

<!-- gh-comment-id:1701493124 --> @AchoArnold commented on GitHub (Aug 31, 2023): Hello @thisjt I just pushed a new version of the app with the fix, Try it out and let me know https://github.com/NdoleStudio/httpsms/releases/tag/v0.0.6
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/httpsms#32
No description provided.