Skip to content
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

postJSON appearing 2 times #27

Open
s10mcow opened this issue Feb 8, 2019 · 2 comments
Open

postJSON appearing 2 times #27

s10mcow opened this issue Feb 8, 2019 · 2 comments

Comments

@s10mcow
Copy link

s10mcow commented Feb 8, 2019

public static int postJSON(String url, JSONObject json, Map headers) throws IOException {

@mauron85
Copy link
Owner

mauron85 commented Feb 8, 2019

I don't see any issue here. First one is for array format second json literal.

@s10mcow
Copy link
Author

s10mcow commented Feb 8, 2019

Ah sorry! i was just going thru the code to see whats up with the POST as I am posting with an auth and token query param which the server somehow says is malformed, however when i manually fetch post the thing in the app using the same url string the POST is fine.

Any ideas?

https://AWS_URL_ROOT/Prod/TrackShipment?auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaGlwbWVudElkIjoxMjN9.tJNnN9iy2MdK_wll3pEwccskWrLTgTqIJ9z

Thats an example of the url we are using...

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

No branches or pull requests

2 participants