0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

お天気アプリ#9

0
Posted at

今日やったこと

・ホーム画面の追加
・画像登録機能と一覧表示機能のロジック理解

学んだこと

・POSTはデータを送信するためのメソッド

・fetch関数はサーバーとHTTP通信を行うための関数
  urlを指定するだけで外部のデータを取得したりサーバーにデータを
 送ることができる

・headers: {"Content-Type": "application/json"}
 これはいまからサーバーに送るデータはJSON形式だと教えるヘッダー

・body: JSON.stringify({name, category})
 これは実際にサーバーに送るデータ

次やること

・洋服登録サイトの画像登録と、温度選択と、カテゴリー選択の追加
・登録サイトの見た目整える

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?