Skip to content

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

Merged
merged 7 commits into from
Dec 7, 2018
Merged

Development #8

merged 7 commits into from
Dec 7, 2018

Conversation

kelvinwijaya
Copy link
Contributor

Description

Update documentation for HTTP form POST (x-www-urlencoded)

Fixes # (issue number)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Code enhancement and update (non-breaking change)
  • Security patch

How Has This Been Tested?

n/a

@coveralls
Copy link

coveralls commented Nov 16, 2018

Coverage Status

Coverage remained the same at 71.257% when pulling 8adcb4b on development into ad37ad3 on master.

Kelvin Wijaya added 3 commits November 16, 2018 11:30
@kelvinwijaya
Copy link
Contributor Author

@robincher , please help me review this PR

@kelvinwijaya kelvinwijaya reopened this Dec 7, 2018
@robincher
Copy link
Contributor

@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

Copy link
Contributor

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();
Copy link
Contributor

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();

Copy link
Contributor Author

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

@kelvinwijaya kelvinwijaya merged commit a225152 into master Dec 7, 2018
GTYeokh pushed a commit that referenced this pull request Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants