mirror of
https://github.com/google-wallet/rest-samples.git
synced 2026-01-10 05:57:53 -05:00
* Create language-specific READMEs with setup and usage instructions * Add links to each language-specific README from main README * Converted examples to use importable classes and functions * Added class- and function-level docstrings and type hinting for IDEs * Removed use of WALLET_* environment variables (now function arguments) * General formatting updates (line length, indentation, etc.) * Switched Java, .NET, and PHP to use Walletobjects libraries * Updated JWT examples to show creating a class and object at once * Fixed error with missing status parameter for certain pass types * Added batch creation example for raw HTTP requests * Removed generator scripts (doesn't work with the Wallet libraries)
379 lines
8.0 KiB
HTTP
379 lines
8.0 KiB
HTTP
# [START class]
|
|
POST /walletobjects/v1/offerClass HTTP/1.1
|
|
Host: walletobjects.googleapis.com
|
|
Content-Type: application/json
|
|
Authorization: Bearer ACCESS_TOKEN;
|
|
Accept-Language: en-us
|
|
Accept-Encoding: gzip, deflate
|
|
Connection: Keep-Alive
|
|
|