回答編集履歴
1
chousei
test
CHANGED
@@ -1 +1,6 @@
|
|
1
1
|
404エラーが返っているのであればurlが存在しないだけでしょう
|
2
|
+
ちなみにexample.comに送って返ってくるのはCORSだと思います
|
3
|
+
```javascript
|
4
|
+
const url="https://www.example.com";
|
5
|
+
fetch(url,{method:"post"}).then(res=>console.log(res.status));
|
6
|
+
```
|