Forum Discussion
YuriK
12 years agoKhoros Expert
Hey Ratnesh,
In some of our stage sites we have a configuration enabled that will cause you to be able to make a POST call via GET. In production, however, we never enable this configuration, so your code probably won't work in production.
There are a few possible solutions though.
1) Use an endpoint to make the rest call and you can call the endpoint via GET
2) Work with support to configure the domain you are calling from as a valid origin
Hope this helps,
Yuri
In some of our stage sites we have a configuration enabled that will cause you to be able to make a POST call via GET. In production, however, we never enable this configuration, so your code probably won't work in production.
There are a few possible solutions though.
1) Use an endpoint to make the rest call and you can call the endpoint via GET
2) Work with support to configure the domain you are calling from as a valid origin
Hope this helps,
Yuri
Related Content
- 2 years ago
- 2 years ago
- 5 years ago
- 4 years ago