You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
@@ -147,8 +154,7 @@ If your test target expects login credentials to be included in an an API reques
147
154
:alt:Screenshot showing how to set up a synthetic test with basic authentication through API request headers.
148
155
149
156
150
-
#. Get the *base64-encoded string* of the username and password
151
-
combination for your test target. There are several ways to get a base64-encoded string. For example:
157
+
#. Get the *base64-encoded string* of the username and password combination for your test target. There are several ways to get a base64-encoded string. For example:
152
158
153
159
- Run the JavaScript function btoa from your browser's console: ``btoa("myusername:mypassword")``
154
160
@@ -157,8 +163,7 @@ If your test target expects login credentials to be included in an an API reques
157
163
#. Store the base64 value in a concealed global variable. For more information, see
158
164
:ref:`global-variables`.
159
165
160
-
#. On the API test's configuration page, select an existing request in
161
-
the test or select :guilabel:`Add requests`.
166
+
#. On the API test's configuration page, select an existing request in the test or select :guilabel:`Add requests`.
162
167
163
168
#. Expand the :guilabel:`Request` section, and enter the following information:
164
169
@@ -192,19 +197,19 @@ Prerequisites
192
197
193
198
- Virtual phone number
194
199
195
-
To authenticate through SMS, you must have a virtual phone number that can receive one time passcodes through SMS. Several services offer virtual phone numbers and provide SMS content through an API, such as the :new-page:`Sinch service <http://sinch.com>`. For instructions on receiving messages through this service, see :new-page:`the Sinch API <https://developers.sinch.com/docs/sms/api-reference/sms/tag/Inbounds/#tag/Inbounds/operation/ListInboundMessages>`.
200
+
To authenticate through SMS, you must have a virtual phone number that can receive one time passcodes through SMS. Several services offer virtual phone numbers and provide SMS content through an API, such as the :new-page:`Sinch service <http://sinch.com>`. For instructions on receiving messages through this service, see :new-page:`the Sinch API <https://developers.sinch.com/docs/sms/api-reference/sms/tag/Inbounds/#tag/Inbounds/operation/ListInboundMessages>`.
196
201
197
-
Certain services, such as Twilio, may block incoming SMS messages containing OTPs. For more information regarding this issue, see Twilio's documentation on :new-page:`OTP Message Body Filtered <https://www.twilio.com/docs/api/errors/30038>`.
202
+
Certain services, such as Twilio, may block incoming SMS messages containing OTPs. For more information, see Twilio's :new-page:`OTP Message Body Filtered <https://www.twilio.com/docs/api/errors/30038>` documentation.
198
203
199
204
- SMS notifications
200
205
201
-
To enhance the authorization process, you must have a service that sends SMS notifications, such as :new-page:`GitHub <https://github.com>`.
206
+
To enhance the authorization process, you must have a service that sends SMS notifications, such as :new-page:`GitHub <https://github.com>`.
Some services may not be accessible during Synthetics tests due to violations of Content-Security-Policy (CSP). In such instances, a workaround is to implement third-party services on your server and provide an endpoint configured with CSP to allow connect-src.
212
+
Some services may not be accessible during Synthetics tests due to violations of Content-Security-Policy (CSP). In such instances, a workaround is to implement third-party services on your server and provide an endpoint configured with CSP to allow ``connect-src``.
208
213
209
214
210
215
#. On the browser test's configuration page, select the :guilabel:`Simple` toggle.
0 commit comments