一个面试题目
Send an HTTP POST request with JSON to https://app.close.io/hackwithus/ with the following string fields: ‘first_name’, ‘last_name’, ‘email’, ‘phone’, and ‘cover_letter’, as well as ‘urls’ which should be a a list with any URLs you’d like to share with us (e.g. resume, github, side projects, twitter, etc.). Be sure that you receive a 200 OK and paste the returned 'id' here. If you get a 403 then try again without sending any Cookie header.
我遇到一个跨域的问题,或者只是前端 jQuery 是不够的?
求高手指导~
补充1: 我没办法控制客户端的服务器(我找到的答案都是客户端服务器可以控制的),客户端服务器也是不提供任何可以调用的 callback 函数
补充2: 我试了直接在浏览器的 console 中提交数据,不过返回的是 400 错误:(
最终还是用 CORS