Page 1 of 1

POST-ing error in test but successful when testing in service properties wizard

Posted: Thu Jan 12, 2012 4:37 pm
by hurricaneditka16

works in service properties wizard only when content type is set to x-www-form-urlencoded. however this service has never worked in actual test or tiggr mobile tester app no matter what options i've selected.

Image

Image

Image


POST-ing error in test but successful when testing in service properties wizard

Posted: Thu Jan 12, 2012 6:41 pm
by maxkatz

Are you able to share your key, login/password with a href="mailto:support@gotiggr.com" rel="nofollow"support@gotiggr.com/a? If not, I will try this in my account.


POST-ing error in test but successful when testing in service properties wizard

Posted: Thu Jan 12, 2012 6:58 pm
by maxkatz

Never mind, you already shared the project with me. Is it OK if I try the service?


POST-ing error in test but successful when testing in service properties wizard

Posted: Thu Jan 12, 2012 7:06 pm
by hurricaneditka16

no problem, go ahead.


POST-ing error in test but successful when testing in service properties wizard

Posted: Fri Jan 13, 2012 1:25 am
by maxkatz

The service only works when response type is set to x-www-form-urlencoded because that's the format they need: http://cocoafish.com/docs/api/v1/user..., the -F option means: Specify HTTP multipart POST data. So I think that part is fine.

To make the service work from a screen, you need to turn on Tiggr Proxy - otherwise there is cross-domain security issue. I created a test_mk screen in your app - it works there.

Note: I also tried Chrome with disabled security (should work the same as Tiggr Proxy on). For some reason the service doesn't work then. Going to figure out why.


POST-ing error in test but successful when testing in service properties wizard

Posted: Fri Jan 13, 2012 4:58 pm
by hurricaneditka16

woops sorry, thought i had tried the proxy setting. thank you for your help as always.