-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8d8cab
commit 04248de
Showing
4 changed files
with
34 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
extras/payload sample using curl.bat → extras/payload_sample_using_curl.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
curl -H "Content-Type: application/json" ^ | ||
-H "Authorization: Bearer <PUSHER-BEAMS-INSTANCE-PRIMARY-KEY>"^ | ||
-X POST "https://<PUSHER-BEAMS-INSTANCE-ID>".pushnotifications.pusher.com/publish_api/v1/instances/<PUSHER-BEAMS-INSTANCE-ID>/publishes" ^ | ||
-X POST "https://<PUSHER-BEAMS-INSTANCE-ID>.pushnotifications.pusher.com/publish_api/v1/instances/<PUSHER-BEAMS-INSTANCE-ID>/publishes" ^ | ||
-d "{\"interests\":[\"reddit\"],\"fcm\":{\"data\":{\"interest\":\"reddit\", \"category\":\"Important\", \"date\":\"1/1/2022\", \"title\":\"How to optimise text size on lower dpi devices\", \"body\":\"In XML, is there any other way than defining new layouts files for different dpi devices just to handle text sizes as it completely messes up the entire layout if not handled properly?\", \"subtext\":\"r/androiddev\", \"link\":\"https://www.reddit.com/r/androiddev/comments/13a3p1c/how_to_optimise_text_size_on_lower_dpi_devices\", \"image\":\"https://media.glassdoor.com/sql/796358/reddit-squarelogo-1490630845152.png\"}}}" |