Help us understand the problem. What is going on with this article?

【curl ・graphql】個人的記事まとめ

More than 1 year has passed since last update.

参考サイト

【curl】
* curlコマンドでapiを叩く

【call GraphQL API】

curlコマンド

  • サーバデータ転送を行うコマンド
  • HTTP,HTTPS,FTP,SFTP,LDAP,TELNETなど多くのプロトコルに対応している。
curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.
curl [options] [URL]

でコマンドが実行できる。

jqコマンド

brew install jq

JSONっぽく、データを整形してくれる優れもの

GraphQL APIをコールする4つの方法

1.GraphiQL(グラフィカルと言うらしい。試したいときに使う)
2.curl(メールの送信で使おうとしている)
3.JavaScript with fetch(?使ってみたい気持ちはある)
4. JavaScript with apollo-fetch(アプリで使用しているのはコレ)

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away