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

Post method accept:application/json #47

Closed
rguerrerof opened this issue Jun 26, 2013 · 1 comment
Closed

Post method accept:application/json #47

rguerrerof opened this issue Jun 26, 2013 · 1 comment

Comments

@rguerrerof
Copy link

Based on #43, I'm trying to Post a Url, but always response with WARN: XHR response is not valid json. If I Post using accept: application/json, I don't have any trouble, I'm testing this on Fiddler Web Debugger. So, It's possible to set this on the html code:

Upload with Anchor

Here ->

is possible set accept:application/json here? or Does exist another way to do this?

Please, Help me.

@twilson63
Copy link
Owner

Thanks for posting this issue,

Unfortunately, the actual post process is not using XHR, it is using a standard form submit and posting the target into an iframe. So it is posting via enctype='multipart/form-data'

I hope this helps...

Thanks

Tom

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