-
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Tested (Windows 10 x64, macOS 13.2 M1, Linux amd64):
- ACS ACR1252
- Feitian R502
Use Zulu JDK 17+ (for Intel, also on Apple silicon, due to JavaFX OR use it headless)
java -jar nfc4pc-230307.jar
java -jar nfc4pc-230307.jar -uid-url http://example.com/foobar
All tags that don't have a URL payload will open with the UID embedded in a pre-defined URL instead, this case at http://example.com/foobar?uid=<hex>
java -jar nfc4pc-230307.jar -meta-url http://example.com/foobar
All tags (with or without URL) open at a different URL. A tag with original URL of http://example.org/sample
will open as http://example.com/foobar?uid=<hex>&url=https://example.org/sample
. URL is optional, tags without URL will open with just the UID parameter (so similar to --uid-url
)
java -jar nfc4pc-230307.jar -webhook http://example.com/foobar
All tags will generate a type application/x-www-form-urlencoded
POST request to http://example.com/foobar
with values uid
and url
(optional)
Use --authorization <header>
to add Authorization header to the webhook POST. Values like Bearer XXXXXXXX
and Basic ZGVtbzpwQDU1dzByZA==
work (full authorization header)
--headless
will run in headless mode, meaning that only webhooks are supported. --no-gui
will not show any UI (tray icon) but will still open the browser.