Skip to content

Commit 76302ec

Browse files
authored
ok na tapos na
1 parent f8fd333 commit 76302ec

1 file changed

Lines changed: 94 additions & 0 deletions

File tree

‎api_httpsms_com.code-search‎

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Query: api.httpsms.com
2+
# ContextLines: 1
3+
4+
20 results - 14 files
5+
6+
README.md:
7+
64
8+
65: The API https://api.jpacsolution.com is built using [Fiber](https://gofiber.io/), Go and [CockroachDB](https://www.cockroachlabs.com/) for the database.
9+
66: It rus as a serverless application on Google Cloud Run. The API documentation can be found here https://api.jpacsolution.com/index.html
10+
67
11+
12+
android/app/src/main/res/values/strings.xml:
13+
12 <string name="login_phone_number_hint">e.g +18005550199 (international format)</string>
14+
13: <string name="login_server_url_hint">e.g https://api.jpacsolution.com</string>
15+
14 <string name="phone_number">Phone Number</string>
16+
17+
16 <string name="server_url">Server URL</string>
18+
17: <string name="default_server_url">https://api.jpacsolution.com</string>
19+
18 <string name="app_version">httpsms.com - %s</string>
20+
21+
api/main.go:
22+
24 //
23+
25: // @host api.jpacsolution.com
24+
26 // @schemes https
25+
26+
api/docs/docs.go:
27+
5382 Version: "1.0",
28+
5383: Host: "api.jpacsolution.com",
29+
5384 BasePath: "/v1",
30+
31+
api/docs/swagger.json:
32+
18 },
33+
19: "host": "api.jpacsolution.com",
34+
20 "basePath": "/v1",
35+
36+
api/docs/swagger.yaml:
37+
1559 type: object
38+
1560: host: api.jpacsolution.com
39+
1561 info:
40+
41+
api/pkg/services/webhook_service.go:
42+
345 IssuedAt: jwt.NewNumericDate(time.Now().UTC()),
43+
346: Issuer: "api.jpacsolution.com",
44+
347 NotBefore: jwt.NewNumericDate(time.Now().UTC().Add(-10 * time.Minute)),
45+
46+
tests/helpers_test.go:
47+
274 require.True(t, ok, "cannot parse claims")
48+
275: require.Equal(t, "api.jpacsolution.com", claims["iss"], "issuer mismatch")
49+
276 require.NotEmpty(t, claims["sub"], "subject mismatch")
50+
51+
web/.env.production:
52+
1: API_BASE_URL=https://api.jpacsolution.com
53+
2 APP_URL=https://httpsms.com
54+
55+
web/app/pages/index.vue:
56+
588 $context = stream_context_create( $options );
57+
589: $result = file_get_contents( "https://api.jpacsolution.com/v1/messages/send", false, $context );
58+
590
59+
60+
600
61+
601: url = 'https://api.jpacsolution.com/v1/messages/send'
62+
602
63+
64+
646 var request = HttpRequest.newBuilder()
65+
647: .uri(URI.create("https://api.jpacsolution.com/v1/messages/send"))
66+
648 .header("accept", "application/json")
67+
68+
659 class="pa-4 bg-surface rounded mt-2"
69+
660: ><code class="language-bash">curl --location --request POST 'https://api.jpacsolution.com/v1/messages/send' \
70+
661 --header 'x-api-key: Get API Key from https://httpsms.com/settings' \
71+
72+
675 var response = await client.PostAsync(
73+
676: "https://api.jpacsolution.com/v1/messages/send",
74+
677 new StringContent(
75+
76+
web/app/pages/blog/send-sms-from-android-phone-with-python.vue:
77+
125
78+
126: url = 'https://api.jpacsolution.com/v1/messages/send'
79+
127
80+
81+
web/app/pages/blog/send-sms-when-new-row-is-added-to-google-sheets-using-zapier.vue:
82+
102 <code>Post</code>. Set the URL to
83+
103: <code>https://api.jpacsolution.com/v1/messages/send</code>. Set the
84+
104 <code>Data Pass-Through</code> to <code>false</code>. In the Data
85+
86+
web/app/pages/phone-api-keys/index.vue:
87+
287 target="_blank"
88+
288: href="https://api.jpacsolution.com"
89+
289 >httpSMS API</a
90+
91+
web/app/pages/settings/index.vue:
92+
880 when sending requests to
93+
881: <v-code>https://api.jpacsolution.com</v-code> endpoints.
94+
882 </p>

0 commit comments

Comments
 (0)