CORS Content-Type application/json fails

api

#1

I have a bash script that runs a parameterized build just fine, but I am trying to create a single page app that does the same, and I can’t get the POST request to work at all. I have CORS enabled on chrome, and can do GET requests and POST strings, but not json. I am using the node request module, and everything is set right according to those docs to send json, this is supported according to the Circle CI docs.


#2

Hello @33Stylus,

Could you share the script that schedules the build?

Feel free to remove any tokens, org, or project names so that you can post it here.

Best, Zak


#3