-
Notifications
You must be signed in to change notification settings - Fork 9
Development #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development #8
Conversation
Update HTTP POST call sample
@robincher , please help me review this PR |
@kelvinwijaya can help to fix the last comment then i approve |
|
||
For **formData** parameter used for Signature generation, the key value parameters **do not** need to be URL encoded, | ||
When your client program is making the actual HTTP POST call, the key value parameters **has** to be URL encoded | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can add examples snippet on how both are done?
README.md
Outdated
con.setReadTimeout(5000); | ||
|
||
DataOutputStream out = new DataOutputStream(con.getOutputStream()); | ||
ApiList formPostList = new ApiList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this formData as mentioned above? Just try to be consistent in the var naming in the README.md
ApiList formData = new ApiList();
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified the variable for consistency. Thanks for highlighting
Description
Update documentation for HTTP form POST (x-www-urlencoded)
Fixes # (issue number)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
n/a