Files
rest-samples/http/demo_offer.http
Nick Alteen 1a91242dc8 Update to make examples easily importable/testable
* 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)
2022-10-05 09:50:23 -04:00

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