[go: up one dir, main page]

Skip to content

HMS ads java severdemo demonstrates how to use java code to invoke the restful API of the HMS Ads Kit.

License

Notifications You must be signed in to change notification settings

HMS-Core/hms-ads-severdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HMS Ads Kit Java Severdemo

English | 中文

Table of Contents

Introduction

Java sample demonstrates how to use Java code to invoke the restful API of the Ads Kit.

Installation

Before using Java sample code, check whether the Java environment has been installed.

Configuration

To use functions provided by Ads Kit restful API, you need to set related parameters in the request.

access token: the request token for the request, it can be obtained from the Developers Web.

requestUrl: URL for accessing Ads Kit, please refer to the restful API References.

Supported Environments

The Java version is 1.7.0 or later.

Sample Code

The following describes methods to invoke a restful API.

1). Send an message to create a dataCollector. You need to assign a value to the request body based on the corresponding format and use the POST method to send the message body to the corresponding URL.

Question or issues

If you want to evaluate more about HMS Core, HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

Ads Kit Java code sample is licensed under the Apache License, version 2.0.

About

HMS ads java severdemo demonstrates how to use java code to invoke the restful API of the HMS Ads Kit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages