Search found 4 matches

Go to advanced search

by Zaki Mohzani
Mon Apr 01, 2013 11:58 am
Forum: Issues
Topic: REST Access-Control-Allow-Origin
Replies: 16
Views: 1886
 
Jump to post

REST Access-Control-Allow-Origin

Followed http://en.wikipedia.org/wiki/Cross-or... and solved it by modifying the headers where Access-Control-Allow-Origin = * to allow the results to be read by any domain. However, I'm not sure of the security implications of this action. Is there a guide I could read to explain the implications?
by Zaki Mohzani
Mon Apr 01, 2013 11:04 am
Forum: Issues
Topic: REST Access-Control-Allow-Origin
Replies: 16
Views: 1886
 
Jump to post

REST Access-Control-Allow-Origin

I'm using the REST API to obtain data from another server and this is the error that appears in Google Developer tools:

XMLHttpRequest cannot load http://www.hostname.com/parties. Origin http://project.tiggzi.com is not allowed by Access-Control-Allow-Origin.

by Zaki Mohzani
Sat Mar 30, 2013 1:45 am
Forum: Issues
Topic: How to map selected radio button's text to backend service request
Replies: 6
Views: 850
 
Jump to post

How to map selected radio button's text to backend service request

Thanks guys, that worked.

The mistake I did was to map data from the DB to the radio buttons where only the 'Text' field was assigned.

To fix it, I made sure the data from the DB also mapped to the 'Value' field.

by Zaki Mohzani
Thu Mar 28, 2013 2:34 pm
Forum: Issues
Topic: How to map selected radio button's text to backend service request
Replies: 6
Views: 850
 
Jump to post

How to map selected radio button's text to backend service request

I have a radio list and a button to submit the result to the backend service. So the code does the following: Populate the radio list from backend service User selects the radio button of his choice Clicks on a button a 'create service' runs to submit the selection to the backend service. However, i...

Go to advanced search