wso2 / product-iots

Welcome to the WSO2 IoT Server source code! For info on working with the WSO2 IoT Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
184 stars 181 forks source link

CORS Problem of Get Token #1877

Open knight19 opened 6 years ago

knight19 commented 6 years ago

The API to get token "curl -k -X POST https://iot.yumbom.com:8243/api-application-registration/register -H 'authorization: Basic <BASE 64 ENCODED USERNAME:PASSWORD>' -H 'content-type: application/json' -d '{ "applicationName":"appName", "tags":["device_management"]}'" have Cors Problem.

Do not have the http headers: Access-Control-Allow-Origin: * Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction

cors

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity.