Page 2 of 2

AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Sun Nov 03, 2013 12:10 pm
by Alfred Butler

I wrote both the front end and back end.
There is no authentication.
I have a Java app that issues requests as well.
It is a PUT.
If you want we can switch to another operation that does a GET.
I don't think that will get us anywhere really. You want the JAVA code?


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Sun Nov 03, 2013 1:27 pm
by Alfred Butler

if you look at the "Postman" plugin from Chrome you can easily set it up to mimic the test. it's a JSON tester.
You will see that it works correctly.


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Sun Nov 03, 2013 4:09 pm
by Igor

Could you attach "Postman" screenshot with successful request to your service?


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Sun Nov 03, 2013 4:59 pm
by Alfred Butler

Can i send this via support@appery,io ?
i don't want it posted in this thread


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Sun Nov 03, 2013 5:01 pm
by Igor

Yes, you can send it via a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Sun Nov 03, 2013 5:16 pm
by Alfred Butler

Just sent it
Thanks


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Mon Nov 04, 2013 1:22 pm
by Maryna Brodina

Hello!
Replied you directly as my reply contains passwords.


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Mon Nov 04, 2013 2:28 pm
by Alfred Butler

Ok this works using the Appery.io service.
Didn't solve my issue with writing my own AJAX script (Just in case others view this).

Most of the docs I view show how to map responses to a return form. At least from a UI design perspective.

This is also true from a REQUEST as well. But a lot of this data is built or retrieved from behind the scenes.
Are there documents on this as well?

It's easy to set up a service REQUEST. But after the request is sent. Do you create an additional EVENT (such as JavaScript), that will be fired after the service has been issued?
This is a confusing piece on my part

Thanks Al


AJAX Parse error: Status 200: Unable to parse JSON string

Posted: Mon Nov 04, 2013 3:52 pm
by Maryna Brodina